feat: retry opening network locations after mounting

This commit is contained in:
Ashley Wulber 2025-07-12 19:42:04 -04:00 committed by Jeremy Soller
parent 7711b4bcc0
commit c7e9828d7b
9 changed files with 333 additions and 56 deletions

View file

@ -64,6 +64,11 @@ pub enum Favorite {
Pictures,
Videos,
Path(PathBuf),
Network {
uri: String,
name: String,
path: PathBuf,
},
}
impl Favorite {
@ -95,6 +100,7 @@ impl Favorite {
Self::Pictures => dirs::picture_dir(),
Self::Videos => dirs::video_dir(),
Self::Path(path) => Some(path.clone()),
Self::Network { path, .. } => Some(path.clone()),
}
}
}