mirror of
https://github.com/narrrl/proton-stream.git
synced 2026-11-03 16:41:26 +01:00
feat(core,app): open the library the way it was last arranged
Filter, sort and franchise folding reset on every launch, so someone who browses by Recently added chose it again each time. They are kept in the desktop's own settings file, alongside the cache budget.
This commit is contained in:
1 parent
690455f7dd
commit
d154002109
3 files changed
+43
-4
No files matched your search
@@ -11,7 +11,8 @@ use crate::library::{Library, Title, sort_name};
|
||||
use crate::metadata::{MetadataRecord, TitleNames};
|
||||
|
||||
/// What order a grid is in.
|
||||
#[derive(Debug, Clone, Copy, PartialEq, Eq, Default)]
|
||||
#[derive(Debug, Clone, Copy, PartialEq, Eq, Default, serde::Serialize, serde::Deserialize)]
|
||||
#[serde(rename_all = "snake_case")]
|
||||
pub enum Sort {
|
||||
/// By the name shown, ignoring a leading article.
|
||||
#[default]
|
||||
|
||||
Reference in new issue
Block a user