This commit is contained in:
2026-09-19 20:58:56 +07:00
parent 323545ce16
commit 52f92c226f
6 changed files with 310 additions and 288 deletions
-6
View File
@@ -46,7 +46,6 @@ setting_accessors! {
pub nip4e: bool,
pub trusted_relays: Vec<String>,
pub file_server: Url,
pub expanded_sections: Option<Vec<String>>,
}
/// Signer kind
@@ -131,10 +130,6 @@ pub struct Settings {
/// Server for blossom media attachments
pub file_server: Url,
/// Expanded sidebar tree sections; `None` means the default sections
#[serde(default)]
pub expanded_sections: Option<Vec<String>>,
}
impl Default for Settings {
@@ -147,7 +142,6 @@ impl Default for Settings {
nip4e: false,
trusted_relays: vec![],
file_server: Url::parse(DEFAULT_FILE_SERVER).unwrap(),
expanded_sections: None,
}
}
}