Skip to content

Commit 2fdab61

Browse files
authored
Merge pull request #3521 from Flow-Launcher/startup_flicker
Fix startup flicker
2 parents 2d2f7de + 29f94d6 commit 2fdab61

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

Flow.Launcher/App.xaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ await API.StopwatchLogInfoAsync(ClassName, "Startup cost", async () =>
203203
// it will steal focus from main window which causes window hide
204204
HotKeyMapper.Initialize();
205205

206-
// Main windows needs initialized before theme change because of blur settings
206+
// Initialize theme for main window
207207
Ioc.Default.GetRequiredService<Theme>().ChangeTheme();
208208

209209
Encoding.RegisterProvider(CodePagesEncodingProvider.Instance);

Flow.Launcher/MainWindow.xaml.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -166,9 +166,6 @@ private async void OnLoaded(object sender, RoutedEventArgs _)
166166
// Force update position
167167
UpdatePosition();
168168

169-
// Refresh frame
170-
await _theme.RefreshFrameAsync();
171-
172169
// Initialize resize mode after refreshing frame
173170
SetupResizeMode();
174171

0 commit comments

Comments
 (0)