From 7151638f519941d8439ad0ee05723c39ed561941 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 4074847..940030d 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: _,