mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Add space for code quality
This commit is contained in:
parent
54622d6759
commit
ac62ebadf0
4 changed files with 7 additions and 7 deletions
|
|
@ -7,7 +7,7 @@ namespace Flow.Launcher.Infrastructure.UserSettings
|
||||||
{
|
{
|
||||||
public string Name { get; set; }
|
public string Name { get; set; }
|
||||||
[JsonIgnore]
|
[JsonIgnore]
|
||||||
public string DisplayName => Name == "Default" ? Localize.defaultBrowser_default(): Name;
|
public string DisplayName => Name == "Default" ? Localize.defaultBrowser_default() : Name;
|
||||||
public string Path { get; set; }
|
public string Path { get; set; }
|
||||||
public string PrivateArg { get; set; }
|
public string PrivateArg { get; set; }
|
||||||
public bool EnablePrivate { get; set; }
|
public bool EnablePrivate { get; set; }
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ namespace Flow.Launcher.Infrastructure.UserSettings
|
||||||
{
|
{
|
||||||
public string Name { get; set; }
|
public string Name { get; set; }
|
||||||
[JsonIgnore]
|
[JsonIgnore]
|
||||||
public string DisplayName => Name == "Explorer" ? Localize.fileManagerExplorer(): Name;
|
public string DisplayName => Name == "Explorer" ? Localize.fileManagerExplorer() : Name;
|
||||||
public string Path { get; set; }
|
public string Path { get; set; }
|
||||||
public string FileArgument { get; set; } = "\"%d\"";
|
public string FileArgument { get; set; } = "\"%d\"";
|
||||||
public string DirectoryArgument { get; set; } = "\"%d\"";
|
public string DirectoryArgument { get; set; } = "\"%d\"";
|
||||||
|
|
|
||||||
|
|
@ -753,7 +753,7 @@ namespace Flow.Launcher
|
||||||
private void UpdateNotifyIconText()
|
private void UpdateNotifyIconText()
|
||||||
{
|
{
|
||||||
var menu = _contextMenu;
|
var menu = _contextMenu;
|
||||||
((MenuItem)menu.Items[0]).Header = Localize.iconTrayOpen()+
|
((MenuItem)menu.Items[0]).Header = Localize.iconTrayOpen() +
|
||||||
" (" + _settings.Hotkey + ")";
|
" (" + _settings.Hotkey + ")";
|
||||||
((MenuItem)menu.Items[1]).Header = Localize.GameMode();
|
((MenuItem)menu.Items[1]).Header = Localize.GameMode();
|
||||||
((MenuItem)menu.Items[2]).Header = Localize.PositionReset();
|
((MenuItem)menu.Items[2]).Header = Localize.PositionReset();
|
||||||
|
|
@ -768,7 +768,7 @@ namespace Flow.Launcher
|
||||||
var openIcon = new FontIcon { Glyph = "\ue71e" };
|
var openIcon = new FontIcon { Glyph = "\ue71e" };
|
||||||
var open = new MenuItem
|
var open = new MenuItem
|
||||||
{
|
{
|
||||||
Header = Localize.iconTrayOpen()+ " (" + _settings.Hotkey + ")",
|
Header = Localize.iconTrayOpen() + " (" + _settings.Hotkey + ")",
|
||||||
Icon = openIcon
|
Icon = openIcon
|
||||||
};
|
};
|
||||||
var gamemodeIcon = new FontIcon { Glyph = "\ue7fc" };
|
var gamemodeIcon = new FontIcon { Glyph = "\ue7fc" };
|
||||||
|
|
|
||||||
|
|
@ -164,11 +164,11 @@ namespace Flow.Launcher.ViewModel
|
||||||
Visibility.Collapsed : Visibility.Visible;
|
Visibility.Collapsed : Visibility.Visible;
|
||||||
public string InitializeTime => PluginPair.Metadata.InitTime + "ms";
|
public string InitializeTime => PluginPair.Metadata.InitTime + "ms";
|
||||||
public string QueryTime => PluginPair.Metadata.AvgQueryTime + "ms";
|
public string QueryTime => PluginPair.Metadata.AvgQueryTime + "ms";
|
||||||
public string Version => Localize.plugin_query_version()+ " " + PluginPair.Metadata.Version;
|
public string Version => Localize.plugin_query_version() + " " + PluginPair.Metadata.Version;
|
||||||
public string InitAndQueryTime =>
|
public string InitAndQueryTime =>
|
||||||
Localize.plugin_init_time()+ " " +
|
Localize.plugin_init_time() + " " +
|
||||||
PluginPair.Metadata.InitTime + "ms, " +
|
PluginPair.Metadata.InitTime + "ms, " +
|
||||||
Localize.plugin_query_time()+ " " +
|
Localize.plugin_query_time() + " " +
|
||||||
PluginPair.Metadata.AvgQueryTime + "ms";
|
PluginPair.Metadata.AvgQueryTime + "ms";
|
||||||
public string ActionKeywordsText => string.Join(Query.ActionKeywordSeparator, PluginPair.Metadata.ActionKeywords);
|
public string ActionKeywordsText => string.Join(Query.ActionKeywordSeparator, PluginPair.Metadata.ActionKeywords);
|
||||||
public string SearchDelayTimeText => PluginPair.Metadata.SearchDelayTime == null ?
|
public string SearchDelayTimeText => PluginPair.Metadata.SearchDelayTime == null ?
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue