mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Adjust code format
This commit is contained in:
parent
e662741e27
commit
02d09160a3
1 changed files with 6 additions and 8 deletions
|
|
@ -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<byte> _refreshQueue = Channel.CreateBounded<byte>(1);
|
||||
|
||||
private static SemaphoreSlim _fileMonitorSemaphore = new(1, 1);
|
||||
|
|
|
|||
Loading…
Reference in a new issue