mirror of
https://gitlab.com/ArkHost/HelixNotes.git
synced 2026-11-23 19:04:56 +01:00
Persist note-list sort mode across restarts; date follows sort + tooltip
This commit is contained in:
1 parent
393505e1ac
commit
f19ddee17d
3 files changed
+13
-1
No files matched your search
@@ -240,6 +240,8 @@ pub struct VaultState {
|
||||
pub notebook_sort_mode: String,
|
||||
#[serde(default)]
|
||||
pub notebook_order: std::collections::HashMap<String, i32>,
|
||||
#[serde(default)]
|
||||
pub sort_mode: String,
|
||||
}
|
||||
|
||||
impl Default for VaultState {
|
||||
@@ -252,6 +254,7 @@ impl Default for VaultState {
|
||||
collapsed_notebooks: Vec::new(),
|
||||
notebook_sort_mode: String::new(),
|
||||
notebook_order: std::collections::HashMap::new(),
|
||||
sort_mode: String::new(),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user