feat: add setting to enable/disable the "recents" feature

This commit is contained in:
Sebastiano Giordano 2026-02-05 20:13:56 +01:00 committed by Ashley Wulber
parent 8909689245
commit 5d3d893c9e
5 changed files with 72 additions and 40 deletions

View file

@ -167,6 +167,7 @@ pub struct Config {
pub thumb_cfg: ThumbCfg,
pub favorites: Vec<Favorite>,
pub show_details: bool,
pub show_recents: bool,
pub tab: TabConfig,
pub type_to_search: TypeToSearch,
}
@ -229,6 +230,7 @@ impl Default for Config {
Favorite::Videos,
],
show_details: false,
show_recents: true,
tab: TabConfig::default(),
type_to_search: TypeToSearch::Recursive,
}