From c68a764dcfcf1842224bee88ed136de67d08f510 Mon Sep 17 00:00:00 2001 From: Jack251970 <1160210343@qq.com> Date: Wed, 5 Mar 2025 14:52:14 +0800 Subject: [PATCH] Improve code quality --- Flow.Launcher/HotkeyControl.xaml.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Flow.Launcher/HotkeyControl.xaml.cs b/Flow.Launcher/HotkeyControl.xaml.cs index 869774882..273d18e3f 100644 --- a/Flow.Launcher/HotkeyControl.xaml.cs +++ b/Flow.Launcher/HotkeyControl.xaml.cs @@ -111,7 +111,7 @@ namespace Flow.Launcher SelectNextItemHotkey2 } - // We can initialize settings in static field because it has been construct in App constuctor + // We can initialize settings in static field because it has been constructed in App constuctor // and it will not construct settings instances twice private static readonly Settings _settings = Ioc.Default.GetRequiredService(); @@ -202,7 +202,7 @@ namespace Flow.Launcher RefreshHotkeyInterface(Hotkey); } - public void RefreshHotkeyInterface(string hotkey) + private void RefreshHotkeyInterface(string hotkey) { SetKeysToDisplay(new HotkeyModel(Hotkey)); CurrentHotkey = new HotkeyModel(Hotkey);