From c544a7e3af314a5b1603e1af19f39edcf2d7b23e Mon Sep 17 00:00:00 2001 From: Hongtao Zhang Date: Wed, 17 Apr 2024 11:57:54 -0500 Subject: [PATCH] Change all the logic back to control rather than viewmodel --- Flow.Launcher/CustomQueryHotkeySetting.xaml | 2 +- .../CustomQueryHotkeySetting.xaml.cs | 13 +- Flow.Launcher/HotkeyControl.xaml | 13 +- Flow.Launcher/HotkeyControl.xaml.cs | 281 ++++++++++++++++-- .../Resources/Pages/WelcomePage2.xaml | 1 - .../Resources/Pages/WelcomePage2.xaml.cs | 31 +- Flow.Launcher/SettingWindow.xaml | 26 +- .../ViewModel/HotkeyControlViewModel.cs | 241 --------------- .../ViewModel/SettingWindowViewModel.cs | 41 +-- 9 files changed, 311 insertions(+), 338 deletions(-) delete mode 100644 Flow.Launcher/ViewModel/HotkeyControlViewModel.cs diff --git a/Flow.Launcher/CustomQueryHotkeySetting.xaml b/Flow.Launcher/CustomQueryHotkeySetting.xaml index c470be903..bb139587f 100644 --- a/Flow.Launcher/CustomQueryHotkeySetting.xaml +++ b/Flow.Launcher/CustomQueryHotkeySetting.xaml @@ -106,7 +106,7 @@ Grid.Column="1" Orientation="Horizontal"> - -