From f62c7f2a8cc143454779dc99334ca9fc80ddabd5 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Tue, 29 Apr 2025 11:10:21 +0200 Subject: still just moving code around --- ui/src/settings.rs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'ui/src/settings.rs') 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 */ -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>, lang: &'a Language) { + Settings<'a>(flash: Option>, session: &'a SessionInfo, lang: &'a Language) { h1 { "Settings" } @if let Some(flash) = &flash { @match flash { -- cgit v1.2.3-70-g09d2