fix(applet): set the theme to be the system preference if it is not light or dark
This commit is contained in:
parent
14614e4e03
commit
405aaf134d
1 changed files with 1 additions and 1 deletions
|
|
@ -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()),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue