diff --git a/Flow.Launcher/App.xaml.cs b/Flow.Launcher/App.xaml.cs index 402812a92d7..942e9447037 100644 --- a/Flow.Launcher/App.xaml.cs +++ b/Flow.Launcher/App.xaml.cs @@ -203,7 +203,7 @@ await API.StopwatchLogInfoAsync(ClassName, "Startup cost", async () => // it will steal focus from main window which causes window hide HotKeyMapper.Initialize(); - // Main windows needs initialized before theme change because of blur settings + // Initialize theme for main window Ioc.Default.GetRequiredService().ChangeTheme(); Encoding.RegisterProvider(CodePagesEncodingProvider.Instance); diff --git a/Flow.Launcher/MainWindow.xaml.cs b/Flow.Launcher/MainWindow.xaml.cs index e2948c54043..e243549e31e 100644 --- a/Flow.Launcher/MainWindow.xaml.cs +++ b/Flow.Launcher/MainWindow.xaml.cs @@ -166,9 +166,6 @@ private async void OnLoaded(object sender, RoutedEventArgs _) // Force update position UpdatePosition(); - // Refresh frame - await _theme.RefreshFrameAsync(); - // Initialize resize mode after refreshing frame SetupResizeMode();