From 64eb4a7bea6b10467d17fb5e4b623b9ba43dbfd7 Mon Sep 17 00:00:00 2001 From: Jack251970 <1160210343@qq.com> Date: Sat, 22 Feb 2025 19:48:25 +0800 Subject: [PATCH] Improve documents --- Flow.Launcher.Plugin/Interfaces/IPublicAPI.cs | 4 ++-- Plugins/Flow.Launcher.Plugin.Shell/Main.cs | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Flow.Launcher.Plugin/Interfaces/IPublicAPI.cs b/Flow.Launcher.Plugin/Interfaces/IPublicAPI.cs index 28cc1fc91..9b608d14f 100644 --- a/Flow.Launcher.Plugin/Interfaces/IPublicAPI.cs +++ b/Flow.Launcher.Plugin/Interfaces/IPublicAPI.cs @@ -18,7 +18,7 @@ namespace Flow.Launcher.Plugin { /// /// Change Flow.Launcher query. - /// When current results is from context menu or history, we will back to query results before changing query. + /// When current results are from context menu or history, we will back to query results before changing query. /// /// query text /// @@ -300,7 +300,7 @@ namespace Flow.Launcher.Plugin /// /// Reloads the query. - /// When current results is from context menu or history, we will back to query results before changing query. + /// When current results are from context menu or history, we will back to query results before requerying. /// /// Choose the first result after reload if true; keep the last selected result if false. Default is true. public void ReQuery(bool reselect = true); diff --git a/Plugins/Flow.Launcher.Plugin.Shell/Main.cs b/Plugins/Flow.Launcher.Plugin.Shell/Main.cs index 62076b494..53479b81f 100644 --- a/Plugins/Flow.Launcher.Plugin.Shell/Main.cs +++ b/Plugins/Flow.Launcher.Plugin.Shell/Main.cs @@ -381,7 +381,6 @@ namespace Flow.Launcher.Plugin.Shell _ = Task.Run(() => { context.API.ShowMainWindow(); - // if user happens to open context menu, we need to return back to query results before changing query context.API.ChangeQuery($"{context.CurrentPluginMetadata.ActionKeywords[0]}{Plugin.Query.TermSeparator}"); });