From 90f5668fc2e7e2ad76dbac10ab5264b0a761145b Mon Sep 17 00:00:00 2001 From: Ashley Wulber Date: Fri, 10 Nov 2023 18:57:56 -0500 Subject: [PATCH] fix(applet): set the theme to be the system preference if it is not light or dark --- src/applet/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/applet/mod.rs b/src/applet/mod.rs index 0963fb9d550..839a4eae991 100644 --- a/src/applet/mod.rs +++ b/src/applet/mod.rs @@ -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()), } } }