feat: persist sort options for each location

This commit is contained in:
Ashley Wulber 2025-07-01 15:34:11 -04:00 committed by Jeremy Soller
parent 68c4a8bb6a
commit 01bf55865c
4 changed files with 111 additions and 16 deletions

View file

@ -916,7 +916,7 @@ impl Application for App {
folders_first: false,
..Default::default()
};
let mut tab = Tab::new(location, tab_config);
let mut tab = Tab::new(location, tab_config, None);
tab.mode = tab::Mode::Dialog(flags.kind.clone());
tab.sort_name = tab::HeadingOptions::Modified;
tab.sort_direction = false;