From 811cea8550713229b1fc9d9ce8bba7306d9fb5b7 Mon Sep 17 00:00:00 2001 From: Ashley Wulber Date: Thu, 1 May 2025 18:08:56 -0400 Subject: [PATCH] fix(theme mode subscription): avoid checking the keys because this interferes with the first value from the subscription the check should be redundant, because we also later check whether the value has changed or not anyway --- src/app/cosmic.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/app/cosmic.rs b/src/app/cosmic.rs index 40748473..940030d8 100644 --- a/src/app/cosmic.rs +++ b/src/app/cosmic.rs @@ -602,9 +602,6 @@ impl Cosmic { }; } Action::SystemThemeModeChange(keys, mode) => { - if !keys.contains(&"is_dark") { - return iced::Task::none(); - } if match THEME.lock().unwrap().theme_type { ThemeType::System { theme: _,