mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Fix incorrect return state on PathIsIndexed
This commit is contained in:
parent
472f4a5f49
commit
df0871a924
1 changed files with 2 additions and 3 deletions
|
|
@ -1,4 +1,4 @@
|
|||
using Flow.Launcher.Infrastructure.Logger;
|
||||
using Flow.Launcher.Infrastructure.Logger;
|
||||
using Flow.Launcher.Plugin.SharedCommands;
|
||||
using Microsoft.Search.Interop;
|
||||
using System;
|
||||
|
|
@ -115,8 +115,7 @@ namespace Flow.Launcher.Plugin.Explorer.Search.WindowsIndex
|
|||
{
|
||||
var csm = new CSearchManager();
|
||||
var indexManager = csm.GetCatalog("SystemIndex").GetCrawlScopeManager();
|
||||
|
||||
return indexManager.IncludedInCrawlScope(path) == 0;
|
||||
return indexManager.IncludedInCrawlScope(path) > 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue