Feat: add icon and reorganize desktop.rs
This commit is contained in:
@@ -101,7 +101,9 @@ impl Settings {
|
||||
}
|
||||
|
||||
pub fn save(&self) {
|
||||
let _ = confy::store(APP_NAME, None, self);
|
||||
if let Err(e) = confy::store(APP_NAME, None, self) {
|
||||
eprintln!("Failed to save settings: {e}");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user