Query: rename IsForced property to IsReQuery

This commit is contained in:
Ioannis G 2023-06-07 23:19:47 +03:00
parent fa783a9cd4
commit a360ac1b5f
No known key found for this signature in database
GPG key ID: EAC0E4E5E36AC49E
2 changed files with 4 additions and 3 deletions

View file

@ -31,9 +31,10 @@ namespace Flow.Launcher.Plugin
/// <summary>
/// Determines whether the query was forced to execute again.
/// For example, the value will be true when the user presses Ctrl + R.
/// When this property is true, plugins handling this query should avoid serving cached results.
/// </summary>
public bool IsForced { get; internal set; } = false;
public bool IsReQuery { get; internal set; } = false;
/// <summary>
/// Search part of a query.

View file

@ -756,8 +756,8 @@ namespace Flow.Launcher.ViewModel
if (currentCancellationToken.IsCancellationRequested)
return;
// Update the query's IsForced property to true if this is a re-query
query.IsForced = reQuery;
// Update the query's IsReQuery property to true if this is a re-query
query.IsReQuery = reQuery;
// handle the exclusiveness of plugin using action keyword
RemoveOldQueryResults(query);