fix(applet): set the theme to be the system preference if it is not light or dark
This commit is contained in:
parent
484417787a
commit
90f5668fc2
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