diff --git a/Flow.Launcher/CustomShortcutSetting.xaml.cs b/Flow.Launcher/CustomShortcutSetting.xaml.cs index 104f6d4f9..097d6a53b 100644 --- a/Flow.Launcher/CustomShortcutSetting.xaml.cs +++ b/Flow.Launcher/CustomShortcutSetting.xaml.cs @@ -9,11 +9,11 @@ namespace Flow.Launcher public partial class CustomShortcutSetting : Window { private SettingWindowViewModel viewModel; - public string Key { get; set; } - public string Value { get; set; } + public string Key { get; set; } = String.Empty; + public string Value { get; set; } = String.Empty; private string originalKey { get; init; } = null; private string originalValue { get; init; } = null; - bool update = false; + private bool update { get; init; } = false; public CustomShortcutSetting(SettingWindowViewModel vm) {