mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Show Preview Hotkey in tooltip
This commit is contained in:
parent
bdbef54016
commit
8f3ca61b21
2 changed files with 3 additions and 1 deletions
|
|
@ -743,7 +743,7 @@
|
||||||
FocusVisualMargin="5"
|
FocusVisualMargin="5"
|
||||||
IsOn="{Binding Settings.AlwaysPreview}"
|
IsOn="{Binding Settings.AlwaysPreview}"
|
||||||
Style="{DynamicResource SideToggleSwitch}"
|
Style="{DynamicResource SideToggleSwitch}"
|
||||||
ToolTip="{DynamicResource AlwaysPreviewToolTip}" />
|
ToolTip="{Binding AlwaysPreviewToolTip}" />
|
||||||
<TextBlock Style="{StaticResource Glyph}">
|
<TextBlock Style="{StaticResource Glyph}">
|
||||||

|

|
||||||
</TextBlock>
|
</TextBlock>
|
||||||
|
|
|
||||||
|
|
@ -243,6 +243,8 @@ namespace Flow.Launcher.ViewModel
|
||||||
public List<Language> Languages => _translater.LoadAvailableLanguages();
|
public List<Language> Languages => _translater.LoadAvailableLanguages();
|
||||||
public IEnumerable<int> MaxResultsRange => Enumerable.Range(2, 16);
|
public IEnumerable<int> MaxResultsRange => Enumerable.Range(2, 16);
|
||||||
|
|
||||||
|
public string AlwaysPreviewTooltip => string.Format(_translater.GetTranslation("AlwaysPreviewToolTip"), Settings.PreviewHotkey);
|
||||||
|
|
||||||
public string TestProxy()
|
public string TestProxy()
|
||||||
{
|
{
|
||||||
var proxyServer = Settings.Proxy.Server;
|
var proxyServer = Settings.Proxy.Server;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue