Skip to content

Commit abb8c49

Browse files
committed
Arrange Setting window constructor property assignment and intialization order.
1 parent a9a1c21 commit abb8c49

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Flow.Launcher/SettingWindow.xaml.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@ public SettingWindow(IPublicAPI api, SettingWindowViewModel viewModel)
3939
{
4040
settings = viewModel.Settings;
4141
DataContext = viewModel;
42-
InitializeComponent();
43-
InitializePosition();
4442
this.viewModel = viewModel;
4543
API = api;
44+
InitializePosition();
45+
InitializeComponent();
4646
}
4747

4848
#region General
@@ -323,7 +323,7 @@ private void OnMaximizeRestoreButtonClick(object sender, RoutedEventArgs e)
323323

324324
private void OnCloseButtonClick(object sender, RoutedEventArgs e)
325325
{
326-
326+
327327
Close();
328328
}
329329

0 commit comments

Comments
 (0)