Improve code quality

This commit is contained in:
Jack251970 2025-03-05 14:52:14 +08:00
parent f2248e93b1
commit c68a764dcf

View file

@ -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<Settings>();
@ -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);