mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Simplify logic
This commit is contained in:
parent
47089bdaab
commit
aece803905
1 changed files with 1 additions and 1 deletions
|
|
@ -72,7 +72,7 @@ namespace Flow.Launcher.Plugin.Sys
|
|||
|
||||
var commands = Commands(query);
|
||||
var results = new List<Result>();
|
||||
var isEmptyQuery = string.IsNullOrEmpty(query.Search) || string.IsNullOrWhiteSpace(query.Search);
|
||||
var isEmptyQuery = string.IsNullOrWhiteSpace(query.Search);
|
||||
foreach (var c in commands)
|
||||
{
|
||||
var command = _settings.Commands.First(x => x.Key == c.Title);
|
||||
|
|
|
|||
Loading…
Reference in a new issue