diff options
author | metamuffin <metamuffin@disroot.org> | 2025-05-31 13:11:36 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2025-05-31 13:11:36 +0200 |
commit | 373243a81f8c44fcfc6a3612ba46da2c6a3286c6 (patch) | |
tree | f2cee1099592d7a3771647cce58a3feb2ae462a9 /ui/src/scaffold.rs | |
parent | 3e834092ba230ee081065a3b80ad227d585b5a13 (diff) | |
download | jellything-373243a81f8c44fcfc6a3612ba46da2c6a3286c6.tar jellything-373243a81f8c44fcfc6a3612ba46da2c6a3286c6.tar.bz2 jellything-373243a81f8c44fcfc6a3612ba46da2c6a3286c6.tar.zst |
use RenderInfo guard everywhere and start to use FlashMessage
Diffstat (limited to 'ui/src/scaffold.rs')
-rw-r--r-- | ui/src/scaffold.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/src/scaffold.rs b/ui/src/scaffold.rs index 461a9f1..a115ec3 100644 --- a/ui/src/scaffold.rs +++ b/ui/src/scaffold.rs @@ -22,8 +22,10 @@ static LOGO_ENABLED: LazyLock<bool> = LazyLock::new(|| CONF.asset_path.join("log pub struct RenderInfo { pub session: Option<SessionInfo>, + pub lang: Language, pub importing: bool, } + pub struct SessionInfo { pub user: User, } |