Skip to content

Commit

Permalink
Update lib.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
wiiznokes committed Nov 7, 2024
1 parent db7fa33 commit 771ec7b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions ui/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -609,10 +609,8 @@ impl<H: HardwareBridge + 'static> cosmic::Application for Ui<H> {
} else {
info!("cached config saved successfully");
}
} else {
if let Err(err) = self.app_state.dir_manager.remove_config_cached() {
error!("{err}")
}
} else if let Err(err) = self.app_state.dir_manager.remove_config_cached() {
error!("{err}")
}

None
Expand Down

0 comments on commit 771ec7b

Please sign in to comment.