mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Always return filled result again
This commit is contained in:
parent
971e1cdbec
commit
0f9da7f519
2 changed files with 3 additions and 5 deletions
|
|
@ -78,8 +78,8 @@ namespace Wox.Plugin.Program
|
|||
}
|
||||
|
||||
var results1 = win32.AsParallel()
|
||||
.Where(p => p.Enabled)
|
||||
.Select(p => p.Result(query.Search, _context.API));
|
||||
.Where(p => p.Enabled)
|
||||
.Select(p => p.Result(query.Search, _context.API));
|
||||
|
||||
var results2 = uwps.AsParallel()
|
||||
.Where(p => p.Enabled)
|
||||
|
|
|
|||
|
|
@ -99,9 +99,7 @@ namespace Wox.Infrastructure
|
|||
RawScore = Math.Max(score, pinyinScore)
|
||||
};
|
||||
|
||||
return result.Score > 0 ?
|
||||
result :
|
||||
new MatchResult { Success = false };
|
||||
return result;
|
||||
}
|
||||
|
||||
return new MatchResult { Success = false };
|
||||
|
|
|
|||
Loading…
Reference in a new issue