From 9b60eac42b0dcc4865475bd672d0812fd3666da2 Mon Sep 17 00:00:00 2001 From: Jack251970 <1160210343@qq.com> Date: Sat, 15 Mar 2025 21:50:10 +0800 Subject: [PATCH] Code cleanup --- Flow.Launcher/MainWindow.xaml.cs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/Flow.Launcher/MainWindow.xaml.cs b/Flow.Launcher/MainWindow.xaml.cs index 6836d9b3a..1d4a26101 100644 --- a/Flow.Launcher/MainWindow.xaml.cs +++ b/Flow.Launcher/MainWindow.xaml.cs @@ -62,7 +62,7 @@ namespace Flow.Launcher DataObject.AddPastingHandler(QueryTextBox, OnPaste); - this.Loaded += (_, _) => + Loaded += (_, _) => { var handle = new WindowInteropHelper(this).Handle; var win = HwndSource.FromHwnd(handle); @@ -70,11 +70,6 @@ namespace Flow.Launcher }; } - public MainWindow() - { - InitializeComponent(); - } - private int _initialWidth; private int _initialHeight;