fix(applet): set the theme to be the system preference if it is not light or dark

This commit is contained in:
Ashley Wulber 2023-11-10 18:57:56 -05:00 committed by Michael Murphy
parent 14614e4e03
commit 405aaf134d

View file

@ -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()),
}
}
}