mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
fix some bookmark plugin issues.
This commit is contained in:
parent
4fe530d257
commit
4ee0731472
1 changed files with 1 additions and 6 deletions
|
|
@ -16,11 +16,6 @@ namespace Wox.Plugin.BrowserBookmark
|
|||
|
||||
public void Init(PluginInitContext context)
|
||||
{
|
||||
if (!Wox.Infrastructure.Storage.UserSettings.UserSettingStorage.Instance.EnableBookmarkPlugin)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
bookmarks.Clear();
|
||||
LoadChromeBookmarks();
|
||||
|
||||
|
|
@ -48,7 +43,7 @@ namespace Wox.Plugin.BrowserBookmark
|
|||
}
|
||||
|
||||
|
||||
var fuzzyMather = FuzzyMatcher.Create(query.RawQuery);
|
||||
var fuzzyMather = FuzzyMatcher.Create(query.GetAllRemainingParameter());
|
||||
List<Bookmark> returnList = bookmarks.Where(o => MatchProgram(o, fuzzyMather)).ToList();
|
||||
returnList = returnList.OrderByDescending(o => o.Score).ToList();
|
||||
return returnList.Select(c => new Result()
|
||||
|
|
|
|||
Loading…
Reference in a new issue