diff options
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 { |