Change function name to suppress warning

This commit is contained in:
Jack251970 2025-04-30 10:45:09 +08:00
parent b36562af6d
commit 94a5c5dcb7
2 changed files with 2 additions and 7 deletions

View file

@ -80,7 +80,7 @@ namespace Flow.Launcher
} }
// Update action keywords text and close window // Update action keywords text and close window
_pluginViewModel.OnActionKeywordsChanged(); _pluginViewModel.OnActionKeywordsTextChanged();
Close(); Close();
} }
} }

View file

@ -155,16 +155,11 @@ namespace Flow.Launcher.ViewModel
public bool SearchDelayEnabled => Settings.SearchQueryResultsWithDelay; public bool SearchDelayEnabled => Settings.SearchQueryResultsWithDelay;
public string DefaultSearchDelay => Settings.SearchDelayTime.ToString(); public string DefaultSearchDelay => Settings.SearchDelayTime.ToString();
public void OnActionKeywordsChanged() public void OnActionKeywordsTextChanged()
{ {
OnPropertyChanged(nameof(ActionKeywordsText)); OnPropertyChanged(nameof(ActionKeywordsText));
} }
public void OnSearchDelayTimeChanged()
{
OnPropertyChanged(nameof(SearchDelayTimeText));
}
[RelayCommand] [RelayCommand]
private void OpenPluginDirectory() private void OpenPluginDirectory()
{ {