Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Flow.Launcher/App.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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<Theme>().ChangeTheme();

Encoding.RegisterProvider(CodePagesEncodingProvider.Instance);
Expand Down
3 changes: 0 additions & 3 deletions Flow.Launcher/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down
Loading