diff --git a/Flow.Launcher/Languages/en.xaml b/Flow.Launcher/Languages/en.xaml
index 4bc79ccb3..d210c20dc 100644
--- a/Flow.Launcher/Languages/en.xaml
+++ b/Flow.Launcher/Languages/en.xaml
@@ -170,6 +170,7 @@
Date
+ <empty>
Hotkey
Hotkeys
Flow Launcher Hotkey
diff --git a/Flow.Launcher/ViewModel/HotkeyControlViewModel.cs b/Flow.Launcher/ViewModel/HotkeyControlViewModel.cs
index e273e0fe3..13e6e320f 100644
--- a/Flow.Launcher/ViewModel/HotkeyControlViewModel.cs
+++ b/Flow.Launcher/ViewModel/HotkeyControlViewModel.cs
@@ -50,6 +50,8 @@ namespace Flow.Launcher.ViewModel
DefaultHotkey = defaultHotkey;
ValidateKeyGesture = validateKeyGesture;
HotkeyDelegate = hotkeyDelegate;
+ EmptyKeyValue = InternationalizationManager.Instance.GetTranslation("empty");
+ KeysToDisplay = new ObservableCollection { EmptyKeyValue };
if (string.IsNullOrEmpty(Hotkey))
{
@@ -60,10 +62,10 @@ namespace Flow.Launcher.ViewModel
}
- private const string EmptyKeyValue = "";
+ private string EmptyKeyValue = "";
private const string KeySeparator = " + ";
- public ObservableCollection KeysToDisplay { get; } = new() { EmptyKeyValue };
+ public ObservableCollection KeysToDisplay { get; }
public HotkeyModel CurrentHotkey { get; private set; }