mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
slightly code adjustment
This commit is contained in:
parent
4d42e52dc1
commit
c0a61c0b40
1 changed files with 4 additions and 4 deletions
|
|
@ -556,14 +556,14 @@ namespace Flow.Launcher.ViewModel
|
|||
|
||||
StringBuilder queryBuilder = new(QueryText);
|
||||
|
||||
foreach (var shortcut in _settings.ShortCuts)
|
||||
foreach (var (key, value) in _settings.ShortCuts)
|
||||
{
|
||||
if (queryBuilder.Equals(shortcut.Key))
|
||||
if (queryBuilder.Equals(key))
|
||||
{
|
||||
queryBuilder.Replace(shortcut.Key, shortcut.Value);
|
||||
queryBuilder.Replace(key, value);
|
||||
}
|
||||
|
||||
queryBuilder.Replace('@' + shortcut.Key, shortcut.Value);
|
||||
queryBuilder.Replace('@' + key, value);
|
||||
}
|
||||
|
||||
_updateSource?.Dispose();
|
||||
|
|
|
|||
Loading…
Reference in a new issue