Skip to content

Commit 8051a03

Browse files
author
TheBestPessimist
committed
Cosmetic
1 parent 29a9def commit 8051a03

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Plugins/Flow.Launcher.Plugin.Explorer/Search/Everything/EverythingSearchManager.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ public async IAsyncEnumerable<SearchResult> ContentSearchAsync(string plainSearc
9494

9595
var option = new EverythingSearchOption(plainSearch,
9696
Settings.SortOption,
97-
true,
98-
contentSearch,
97+
IsContentSearch: true,
98+
ContentSearchKeyword: contentSearch,
9999
IsFullPathSearch: Settings.EverythingSearchFullPath);
100100

101101
await foreach (var result in EverythingApi.SearchAsync(option, token))
@@ -118,9 +118,7 @@ public async IAsyncEnumerable<SearchResult> EnumerateAsync(string path, string s
118118
IsFullPathSearch: Settings.EverythingSearchFullPath);
119119

120120
await foreach (var result in EverythingApi.SearchAsync(option, token))
121-
{
122121
yield return result;
123-
}
124122
}
125123
}
126124
}

0 commit comments

Comments
 (0)