add: show_nsfw, hide_extra_post_tabs settings

add: ability to remove tokens from account switcher ui
This commit is contained in:
trisua 2025-06-02 16:11:27 -04:00
parent 88afb3ec37
commit 701ea79c9a
7 changed files with 70 additions and 77 deletions

View file

@ -216,6 +216,12 @@ pub struct UserSettings {
/// Require an account to view the user's profile.
#[serde(default)]
pub require_account: bool,
/// If NSFW content should be shown.
#[serde(default)]
pub show_nsfw: bool,
/// If extra post tabs are hidden (replies, media).
#[serde(default)]
pub hide_extra_post_tabs: bool,
}
fn mime_avif() -> String {