diff --git a/Flow.Launcher/SettingWindow.xaml b/Flow.Launcher/SettingWindow.xaml index 4a9544042..74c768d6a 100644 --- a/Flow.Launcher/SettingWindow.xaml +++ b/Flow.Launcher/SettingWindow.xaml @@ -743,7 +743,7 @@ FocusVisualMargin="5" IsOn="{Binding Settings.AlwaysPreview}" Style="{DynamicResource SideToggleSwitch}" - ToolTip="{DynamicResource AlwaysPreviewToolTip}" /> + ToolTip="{Binding AlwaysPreviewToolTip}" /> diff --git a/Flow.Launcher/ViewModel/SettingWindowViewModel.cs b/Flow.Launcher/ViewModel/SettingWindowViewModel.cs index a59ec7ecc..e4a30818c 100644 --- a/Flow.Launcher/ViewModel/SettingWindowViewModel.cs +++ b/Flow.Launcher/ViewModel/SettingWindowViewModel.cs @@ -243,6 +243,8 @@ namespace Flow.Launcher.ViewModel public List Languages => _translater.LoadAvailableLanguages(); public IEnumerable MaxResultsRange => Enumerable.Range(2, 16); + public string AlwaysPreviewTooltip => string.Format(_translater.GetTranslation("AlwaysPreviewToolTip"), Settings.PreviewHotkey); + public string TestProxy() { var proxyServer = Settings.Proxy.Server;