From 94a5c5dcb7aea3cc1674bdf63d15df7f2cb0c23c Mon Sep 17 00:00:00 2001 From: Jack251970 <1160210343@qq.com> Date: Wed, 30 Apr 2025 10:45:09 +0800 Subject: [PATCH] Change function name to suppress warning --- Flow.Launcher/ActionKeywords.xaml.cs | 2 +- Flow.Launcher/ViewModel/PluginViewModel.cs | 7 +------ 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/Flow.Launcher/ActionKeywords.xaml.cs b/Flow.Launcher/ActionKeywords.xaml.cs index ad24f2a76..9420b4c38 100644 --- a/Flow.Launcher/ActionKeywords.xaml.cs +++ b/Flow.Launcher/ActionKeywords.xaml.cs @@ -80,7 +80,7 @@ namespace Flow.Launcher } // Update action keywords text and close window - _pluginViewModel.OnActionKeywordsChanged(); + _pluginViewModel.OnActionKeywordsTextChanged(); Close(); } } diff --git a/Flow.Launcher/ViewModel/PluginViewModel.cs b/Flow.Launcher/ViewModel/PluginViewModel.cs index 8312806fb..64a7f3db8 100644 --- a/Flow.Launcher/ViewModel/PluginViewModel.cs +++ b/Flow.Launcher/ViewModel/PluginViewModel.cs @@ -155,16 +155,11 @@ namespace Flow.Launcher.ViewModel public bool SearchDelayEnabled => Settings.SearchQueryResultsWithDelay; public string DefaultSearchDelay => Settings.SearchDelayTime.ToString(); - public void OnActionKeywordsChanged() + public void OnActionKeywordsTextChanged() { OnPropertyChanged(nameof(ActionKeywordsText)); } - public void OnSearchDelayTimeChanged() - { - OnPropertyChanged(nameof(SearchDelayTimeText)); - } - [RelayCommand] private void OpenPluginDirectory() {