Skip to content

Commit c68a764

Browse files
committed
Improve code quality
1 parent f2248e9 commit c68a764

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Flow.Launcher/HotkeyControl.xaml.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ public enum HotkeyType
111111
SelectNextItemHotkey2
112112
}
113113

114-
// We can initialize settings in static field because it has been construct in App constuctor
114+
// We can initialize settings in static field because it has been constructed in App constuctor
115115
// and it will not construct settings instances twice
116116
private static readonly Settings _settings = Ioc.Default.GetRequiredService<Settings>();
117117

@@ -202,7 +202,7 @@ public HotkeyControl()
202202
RefreshHotkeyInterface(Hotkey);
203203
}
204204

205-
public void RefreshHotkeyInterface(string hotkey)
205+
private void RefreshHotkeyInterface(string hotkey)
206206
{
207207
SetKeysToDisplay(new HotkeyModel(Hotkey));
208208
CurrentHotkey = new HotkeyModel(Hotkey);

0 commit comments

Comments
 (0)