silence error
This commit is contained in:
parent
689552eff2
commit
b1eb01effc
1 changed files with 2 additions and 1 deletions
|
@ -176,7 +176,8 @@ mod imp {
|
|||
|
||||
// wipe state directory on init (gets rid of stale mpris cover art)
|
||||
let state_home = audrey::globals::xdg_dirs().get_state_home();
|
||||
std::fs::remove_dir_all(state_home).expect("could not remove xdg state home");
|
||||
// silence error (its okay if it does not exist)
|
||||
let _ = std::fs::remove_dir_all(state_home);
|
||||
|
||||
if let Some(display) = gdk::Display::default() {
|
||||
gtk::style_context_add_provider_for_display(&display, &self.css_provider, 420);
|
||||
|
|
Loading…
Reference in a new issue