Skip to content

Commit 64eb4a7

Browse files
committed
Improve documents
1 parent a6f3340 commit 64eb4a7

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Flow.Launcher.Plugin/Interfaces/IPublicAPI.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public interface IPublicAPI
1818
{
1919
/// <summary>
2020
/// Change Flow.Launcher query.
21-
/// When current results is from context menu or history, we will back to query results before changing query.
21+
/// When current results are from context menu or history, we will back to query results before changing query.
2222
/// </summary>
2323
/// <param name="query">query text</param>
2424
/// <param name="requery">
@@ -300,7 +300,7 @@ public interface IPublicAPI
300300

301301
/// <summary>
302302
/// Reloads the query.
303-
/// When current results is from context menu or history, we will back to query results before changing query.
303+
/// When current results are from context menu or history, we will back to query results before requerying.
304304
/// </summary>
305305
/// <param name="reselect">Choose the first result after reload if true; keep the last selected result if false. Default is true.</param>
306306
public void ReQuery(bool reselect = true);

Plugins/Flow.Launcher.Plugin.Shell/Main.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,6 @@ private void OnWinRPressed()
381381
_ = Task.Run(() =>
382382
{
383383
context.API.ShowMainWindow();
384-
// if user happens to open context menu, we need to return back to query results before changing query
385384
context.API.ChangeQuery($"{context.CurrentPluginMetadata.ActionKeywords[0]}{Plugin.Query.TermSeparator}");
386385
});
387386

0 commit comments

Comments
 (0)