diff --git a/Plugins/Flow.Launcher.Plugin.Explorer/Views/ActionKeywordSetting.xaml.cs b/Plugins/Flow.Launcher.Plugin.Explorer/Views/ActionKeywordSetting.xaml.cs index 9d7f08e69..18703e5ea 100644 --- a/Plugins/Flow.Launcher.Plugin.Explorer/Views/ActionKeywordSetting.xaml.cs +++ b/Plugins/Flow.Launcher.Plugin.Explorer/Views/ActionKeywordSetting.xaml.cs @@ -31,20 +31,16 @@ namespace Flow.Launcher.Plugin.Explorer.Views public bool? Enabled { get; set; } - - private Settings settings; private string _actionKeyword; public Visibility Visible => CurrentActionKeyword.Enabled is not null ? Visibility.Visible : Visibility.Collapsed; public ActionKeywordSetting(SettingsViewModel settingsViewModel, - ActionKeywordView selectedActionKeyword, Settings settings) + ActionKeywordView selectedActionKeyword) { this.settingsViewModel = settingsViewModel; - this.settings = settings; - CurrentActionKeyword = selectedActionKeyword; ActionKeyword = selectedActionKeyword.Keyword; diff --git a/Plugins/Flow.Launcher.Plugin.Explorer/Views/ExplorerSettings.xaml.cs b/Plugins/Flow.Launcher.Plugin.Explorer/Views/ExplorerSettings.xaml.cs index aa36f4b54..26a53f7fb 100644 --- a/Plugins/Flow.Launcher.Plugin.Explorer/Views/ExplorerSettings.xaml.cs +++ b/Plugins/Flow.Launcher.Plugin.Explorer/Views/ExplorerSettings.xaml.cs @@ -193,7 +193,7 @@ namespace Flow.Launcher.Plugin.Explorer.Views var selectedActionKeyword = lbxActionKeywords.SelectedItem as ActionKeywordView; var actionKeywordWindow = new ActionKeywordSetting(viewModel, - selectedActionKeyword, viewModel.Settings); + selectedActionKeyword); actionKeywordWindow.ShowDialog();