mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Fix program indexing logic when cache is empty
This commit is contained in:
parent
0cb80c4442
commit
df589cea49
1 changed files with 1 additions and 1 deletions
|
|
@ -84,7 +84,7 @@ namespace Flow.Launcher.Plugin.Program
|
|||
Log.Info($"|Flow.Launcher.Plugin.Program.Main|Number of preload win32 programs <{_win32s.Length}>");
|
||||
Log.Info($"|Flow.Launcher.Plugin.Program.Main|Number of preload uwps <{_uwps.Length}>");
|
||||
|
||||
bool cacheEmpty = !_win32s.Any() && !_uwps.Any();
|
||||
bool cacheEmpty = !_win32s.Any() || !_uwps.Any();
|
||||
|
||||
if (cacheEmpty || _settings.LastIndexTime.AddHours(30) < DateTime.Now)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue