mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
update loop logic
This commit is contained in:
parent
a5e3049adc
commit
b642898132
1 changed files with 10 additions and 2 deletions
|
|
@ -172,11 +172,19 @@ namespace Flow.Launcher.Plugin.Explorer.Search
|
|||
|
||||
foreach (var r in results)
|
||||
{
|
||||
var excludeResult = false;
|
||||
|
||||
for (var i = 0; i < indexExclusionListCount; i++)
|
||||
{
|
||||
if (!r.SubTitle.StartsWith(indexExclusionList[i].Path, StringComparison.OrdinalIgnoreCase))
|
||||
filteredResults.Add(r);
|
||||
if (r.SubTitle.StartsWith(indexExclusionList[i].Path, StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
excludeResult = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (!excludeResult)
|
||||
filteredResults.Add(r);
|
||||
}
|
||||
|
||||
return filteredResults;
|
||||
|
|
|
|||
Loading…
Reference in a new issue