diff options
author | metamuffin <metamuffin@disroot.org> | 2025-04-29 11:10:21 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2025-04-29 11:10:21 +0200 |
commit | f62c7f2a8cc143454779dc99334ca9fc80ddabd5 (patch) | |
tree | f31dbb908715d2deb2860e2097fa13dd41d759d5 /ui/src/settings.rs | |
parent | 73d2d5eb01fceae9e0b1c58afb648822000c878a (diff) | |
download | jellything-f62c7f2a8cc143454779dc99334ca9fc80ddabd5.tar jellything-f62c7f2a8cc143454779dc99334ca9fc80ddabd5.tar.bz2 jellything-f62c7f2a8cc143454779dc99334ca9fc80ddabd5.tar.zst |
still just moving code around
Diffstat (limited to 'ui/src/settings.rs')
-rw-r--r-- | ui/src/settings.rs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/ui/src/settings.rs b/ui/src/settings.rs index fb4ef0f..5ff3946 100644 --- a/ui/src/settings.rs +++ b/ui/src/settings.rs @@ -3,7 +3,10 @@ which is licensed under the GNU Affero General Public License (version 3); see /COPYING. Copyright (C) 2025 metamuffin <metamuffin.org> */ -use crate::locale::{Language, tr, trs}; +use crate::{ + locale::{Language, tr, trs}, + scaffold::SessionInfo, +}; use jellycommon::{ routes::{u_account_login, u_account_settings}, user::{PlayerKind, Theme}, @@ -11,7 +14,7 @@ use jellycommon::{ use markup::RenderAttributeValue; markup::define! { - Settings<'a>(flash: Option<Result<String, String>>, lang: &'a Language) { + Settings<'a>(flash: Option<Result<String, String>>, session: &'a SessionInfo, lang: &'a Language) { h1 { "Settings" } @if let Some(flash) = &flash { @match flash { |