mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Remove extra checking
This commit is contained in:
parent
ff5e3695e9
commit
9914124d20
1 changed files with 1 additions and 7 deletions
|
|
@ -40,14 +40,8 @@ namespace Flow.Launcher.Plugin.Explorer.Search
|
|||
return await WindowsIndexFileContentSearchAsync(query, querySearch, token).ConfigureAwait(false);
|
||||
|
||||
// This allows the user to type the assigned action keyword and only see the list of quick folder links
|
||||
if (settings.QuickFolderAccessLinks.Count > 0
|
||||
&& query.ActionKeyword == settings.SearchActionKeyword
|
||||
&& string.IsNullOrEmpty(query.Search))
|
||||
return quickFolderAccess.FolderListAll(query, settings.QuickFolderAccessLinks, context);
|
||||
|
||||
// No records in QuickFolderAccessLinks, user has not typed any query apart from SearchActionKeyword, no need for further search
|
||||
if (string.IsNullOrEmpty(query.Search))
|
||||
return results;
|
||||
return quickFolderAccess.FolderListAll(query, settings.QuickFolderAccessLinks, context);
|
||||
|
||||
var quickFolderLinks = quickFolderAccess.FolderListMatched(query, settings.QuickFolderAccessLinks, context);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue