mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
remove obsolete settings class
This commit is contained in:
parent
69f58518b2
commit
d807b21eac
2 changed files with 2 additions and 6 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue