diff --git a/Plugins/Flow.Launcher.Plugin.BrowserBookmark/Main.cs b/Plugins/Flow.Launcher.Plugin.BrowserBookmark/Main.cs index 9d9b9e505..3acf94bf6 100644 --- a/Plugins/Flow.Launcher.Plugin.BrowserBookmark/Main.cs +++ b/Plugins/Flow.Launcher.Plugin.BrowserBookmark/Main.cs @@ -58,7 +58,6 @@ public class Main : ISettingProvider, IPlugin, IReloadable, IPluginI18n, IContex // Should top results be returned? (true if no search parameters have been passed) var topResults = string.IsNullOrEmpty(param); - if (!topResults) { // Since we mixed chrome and firefox bookmarks, we should order them again @@ -68,9 +67,9 @@ public class Main : ISettingProvider, IPlugin, IReloadable, IPluginI18n, IContex { Title = c.Name, SubTitle = c.Url, - IcoPath = !string.IsNullOrEmpty(c.FaviconPath) && File.Exists(c.FaviconPath) - ? c.FaviconPath - : @"Images\bookmark.png", + IcoPath = !string.IsNullOrEmpty(c.FaviconPath) && File.Exists(c.FaviconPath) + ? c.FaviconPath + : @"Images\bookmark.png", Score = BookmarkLoader.MatchProgram(c, param).Score, Action = _ => { @@ -92,9 +91,9 @@ public class Main : ISettingProvider, IPlugin, IReloadable, IPluginI18n, IContex { Title = c.Name, SubTitle = c.Url, - IcoPath = !string.IsNullOrEmpty(c.FaviconPath) && File.Exists(c.FaviconPath) - ? c.FaviconPath - : @"Images\bookmark.png", + IcoPath = !string.IsNullOrEmpty(c.FaviconPath) && File.Exists(c.FaviconPath) + ? c.FaviconPath + : @"Images\bookmark.png", Score = 5, Action = _ => { @@ -108,7 +107,6 @@ public class Main : ISettingProvider, IPlugin, IReloadable, IPluginI18n, IContex } } - private static Channel _refreshQueue = Channel.CreateBounded(1); private static SemaphoreSlim _fileMonitorSemaphore = new(1, 1);