Skip to content

Commit 9914124

Browse files
committed
Remove extra checking
1 parent ff5e369 commit 9914124

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

Plugins/Flow.Launcher.Plugin.Explorer/Search/SearchManager.cs

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,8 @@ internal async Task<List<Result>> SearchAsync(Query query, CancellationToken tok
4040
return await WindowsIndexFileContentSearchAsync(query, querySearch, token).ConfigureAwait(false);
4141

4242
// This allows the user to type the assigned action keyword and only see the list of quick folder links
43-
if (settings.QuickFolderAccessLinks.Count > 0
44-
&& query.ActionKeyword == settings.SearchActionKeyword
45-
&& string.IsNullOrEmpty(query.Search))
46-
return quickFolderAccess.FolderListAll(query, settings.QuickFolderAccessLinks, context);
47-
48-
// No records in QuickFolderAccessLinks, user has not typed any query apart from SearchActionKeyword, no need for further search
4943
if (string.IsNullOrEmpty(query.Search))
50-
return results;
44+
return quickFolderAccess.FolderListAll(query, settings.QuickFolderAccessLinks, context);
5145

5246
var quickFolderLinks = quickFolderAccess.FolderListMatched(query, settings.QuickFolderAccessLinks, context);
5347

0 commit comments

Comments
 (0)