From 7476cdd8944d4c160aeec5f025ff12bcb723bc7c Mon Sep 17 00:00:00 2001 From: Jack Ye Date: Mon, 2 Mar 2026 18:04:00 +0800 Subject: [PATCH] Simplify theme refresh logic in ActualApplicationThemeChanged --- Flow.Launcher/MainWindow.xaml.cs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Flow.Launcher/MainWindow.xaml.cs b/Flow.Launcher/MainWindow.xaml.cs index 113f1f583..06b2dda9e 100644 --- a/Flow.Launcher/MainWindow.xaml.cs +++ b/Flow.Launcher/MainWindow.xaml.cs @@ -109,10 +109,7 @@ namespace Flow.Launcher private void ViewModel_ActualApplicationThemeChanged(object sender, ActualApplicationThemeChangedEventArgs args) { - if (_settings.ColorScheme == Constant.System) - { - _ = _theme.RefreshFrameAsync(); - } + _ = _theme.RefreshFrameAsync(); } private void OnSourceInitialized(object sender, EventArgs e)