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
parent 484417787a
commit 90f5668fc2
No known key found for this signature in database
GPG key ID: 5216D4F46A90A820

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