Skip to content

Commit 9b60eac

Browse files
committed
Code cleanup
1 parent e862b38 commit 9b60eac

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

Flow.Launcher/MainWindow.xaml.cs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -62,19 +62,14 @@ public MainWindow(Settings settings, MainViewModel mainVM)
6262

6363
DataObject.AddPastingHandler(QueryTextBox, OnPaste);
6464

65-
this.Loaded += (_, _) =>
65+
Loaded += (_, _) =>
6666
{
6767
var handle = new WindowInteropHelper(this).Handle;
6868
var win = HwndSource.FromHwnd(handle);
6969
win.AddHook(WndProc);
7070
};
7171
}
7272

73-
public MainWindow()
74-
{
75-
InitializeComponent();
76-
}
77-
7873
private int _initialWidth;
7974
private int _initialHeight;
8075

0 commit comments

Comments
 (0)