add: option to clear all notifications when you open the page

This commit is contained in:
trisua 2025-06-27 01:38:35 -04:00
parent 45ea91a768
commit e7c4cf14aa
5 changed files with 19 additions and 3 deletions

View file

@ -252,6 +252,9 @@ pub struct UserSettings {
/// Hide posts that are answering a question on the "All" timeline.
#[serde(default)]
pub all_timeline_hide_answers: bool,
/// Automatically clear all notifications when notifications are viewed.
#[serde(default)]
pub auto_clear_notifs: bool,
}
fn mime_avif() -> String {