add: ability to disable profile theme of other users

This commit is contained in:
trisua 2025-04-08 15:49:41 -04:00
parent e8ae7902b6
commit a8282a113d
29 changed files with 77 additions and 52 deletions

View file

@ -68,6 +68,8 @@ pub struct UserSettings {
pub theme_sat: String,
#[serde(default)]
pub theme_lit: String,
#[serde(default)]
pub disable_other_themes: bool,
}
impl Default for UserSettings {
@ -83,6 +85,7 @@ impl Default for UserSettings {
theme_hue: String::new(),
theme_sat: String::new(),
theme_lit: String::new(),
disable_other_themes: false,
}
}
}