mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Use null to distinguish between home query and global query
This commit is contained in:
parent
67facb8f18
commit
21d6ec20d4
2 changed files with 3 additions and 1 deletions
|
|
@ -16,7 +16,8 @@ namespace Flow.Launcher.Core.Plugin
|
|||
Search = string.Empty,
|
||||
RawQuery = string.Empty,
|
||||
SearchTerms = Array.Empty<string>(),
|
||||
ActionKeyword = string.Empty
|
||||
// must use null because we need to distinguish between home query and global query
|
||||
ActionKeyword = null
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -53,6 +53,7 @@ namespace Flow.Launcher.Plugin
|
|||
/// <summary>
|
||||
/// The action keyword part of this query.
|
||||
/// For global plugins this value will be empty.
|
||||
/// For home query this value will be null.
|
||||
/// </summary>
|
||||
public string ActionKeyword { get; init; }
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue