mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Merge pull request #2527 from Flow-Launcher/append-keyword-to-tab
Prepend actionkeyword to suggestions
This commit is contained in:
commit
d84dbc86f6
1 changed files with 6 additions and 0 deletions
|
|
@ -259,6 +259,12 @@ namespace Flow.Launcher.ViewModel
|
|||
}
|
||||
else if (!string.IsNullOrEmpty(SelectedResults.SelectedItem?.QuerySuggestionText))
|
||||
{
|
||||
var defaultSuggestion = SelectedResults.SelectedItem.QuerySuggestionText;
|
||||
// check if result.actionkeywordassigned is empty
|
||||
if (!string.IsNullOrEmpty(result.ActionKeywordAssigned))
|
||||
{
|
||||
autoCompleteText = $"{result.ActionKeywordAssigned} {defaultSuggestion}";
|
||||
}
|
||||
autoCompleteText = SelectedResults.SelectedItem.QuerySuggestionText;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue