mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Fix ControlPanel plugin search bug
This commit is contained in:
parent
7e7b2797d7
commit
1817105c94
1 changed files with 1 additions and 1 deletions
|
|
@ -77,7 +77,7 @@ namespace Wox.Plugin.ControlPanel
|
|||
private int Score(ControlPanelItem item, string query)
|
||||
{
|
||||
var scores = new List<int> {0};
|
||||
if (string.IsNullOrEmpty(item.LocalizedString))
|
||||
if (!string.IsNullOrEmpty(item.LocalizedString))
|
||||
{
|
||||
var score1 = StringMatcher.Score(item.LocalizedString, query);
|
||||
var score2 = StringMatcher.ScoreForPinyin(item.LocalizedString, query);
|
||||
|
|
|
|||
Loading…
Reference in a new issue