Skip to content

Commit

Permalink
fix(applet): set the theme to be the system preference if it is not l…
Browse files Browse the repository at this point in the history
…ight or dark
  • Loading branch information
wash2 authored and mmstick committed Nov 13, 2023
1 parent 14614e4 commit 405aaf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/applet/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ impl Context {
match self.background {
CosmicPanelBackground::Dark => Some(theme::Theme::dark()),
CosmicPanelBackground::Light => Some(theme::Theme::light()),
_ => None,
_ => Some(theme::system_preference()),
}
}
}
Expand Down

0 comments on commit 405aaf1

Please sign in to comment.