mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
add comment
This commit is contained in:
parent
3ddf0cf6f6
commit
d8d006fee9
1 changed files with 1 additions and 0 deletions
|
|
@ -899,6 +899,7 @@ namespace Flow.Launcher.ViewModel
|
||||||
StringBuilder queryBuilder = new(queryText);
|
StringBuilder queryBuilder = new(queryText);
|
||||||
StringBuilder queryBuilderTmp = new(queryText);
|
StringBuilder queryBuilderTmp = new(queryText);
|
||||||
|
|
||||||
|
// Sorting order is important here, the reason is for matching longest shortcut by default
|
||||||
foreach (var shortcut in customShortcuts.OrderByDescending(x => x.Key.Length))
|
foreach (var shortcut in customShortcuts.OrderByDescending(x => x.Key.Length))
|
||||||
{
|
{
|
||||||
if (queryBuilder.Equals(shortcut.Key))
|
if (queryBuilder.Equals(shortcut.Key))
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue