From 33b34f296fa67ad0e6856d438cc086da585a5536 Mon Sep 17 00:00:00 2001 From: Jeremy Date: Thu, 15 Jul 2021 20:06:18 +1000 Subject: [PATCH] update per review --- Flow.Launcher/HotkeyControl.xaml.cs | 8 +------- Flow.Launcher/Languages/en.xaml | 3 ++- Flow.Launcher/SettingWindow.xaml | 2 +- 3 files changed, 4 insertions(+), 9 deletions(-) diff --git a/Flow.Launcher/HotkeyControl.xaml.cs b/Flow.Launcher/HotkeyControl.xaml.cs index be971c8ab..2b6e275df 100644 --- a/Flow.Launcher/HotkeyControl.xaml.cs +++ b/Flow.Launcher/HotkeyControl.xaml.cs @@ -18,13 +18,7 @@ namespace Flow.Launcher public event EventHandler HotkeyChanged; - protected virtual void OnHotkeyChanged() - { - EventHandler handler = HotkeyChanged; - - if (handler != null) - handler(this, EventArgs.Empty); - } + protected virtual void OnHotkeyChanged() => HotkeyChanged?.Invoke(this, EventArgs.Empty); public HotkeyControl() { diff --git a/Flow.Launcher/Languages/en.xaml b/Flow.Launcher/Languages/en.xaml index 06906748d..b5bde58e2 100644 --- a/Flow.Launcher/Languages/en.xaml +++ b/Flow.Launcher/Languages/en.xaml @@ -46,7 +46,7 @@ Find more plugins Enable Disable - Query + Action keyword: Current action keyword: New action keyword: Current Priority: @@ -73,6 +73,7 @@ Open Result Modifiers Show Hotkey Custom Query Hotkey + Query Delete Edit Add diff --git a/Flow.Launcher/SettingWindow.xaml b/Flow.Launcher/SettingWindow.xaml index 9513cf41c..02af7fa42 100644 --- a/Flow.Launcher/SettingWindow.xaml +++ b/Flow.Launcher/SettingWindow.xaml @@ -365,7 +365,7 @@ - +