mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Prepend actionkeyword to suggestions
This commit is contained in:
parent
694e504a19
commit
8f5c7e1f96
1 changed files with 6 additions and 0 deletions
|
|
@ -259,6 +259,12 @@ namespace Flow.Launcher.ViewModel
|
||||||
}
|
}
|
||||||
else if (!string.IsNullOrEmpty(SelectedResults.SelectedItem?.QuerySuggestionText))
|
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;
|
autoCompleteText = SelectedResults.SelectedItem.QuerySuggestionText;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue