mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Rename variable
This commit is contained in:
parent
2ed33a232d
commit
64afeedfc5
3 changed files with 4 additions and 4 deletions
|
|
@ -160,7 +160,7 @@ namespace Flow.Launcher.Infrastructure.UserSettings
|
|||
/// </summary>
|
||||
public bool ShouldUsePinyin { get; set; } = false;
|
||||
|
||||
public bool UseQuickLook { get; set; } = false;
|
||||
public bool UseExternalPreview { get; set; } = false;
|
||||
|
||||
public bool AlwaysPreview { get; set; } = false;
|
||||
|
||||
|
|
|
|||
|
|
@ -868,7 +868,7 @@
|
|||
<ui:ToggleSwitch
|
||||
Grid.Column="2"
|
||||
FocusVisualMargin="5"
|
||||
IsOn="{Binding Settings.UseQuickLook}"
|
||||
IsOn="{Binding Settings.UseExternalPreview}"
|
||||
Style="{DynamicResource SideToggleSwitch}"
|
||||
ToolTip="{DynamicResource UseQuickLookToolTip}" />
|
||||
<TextBlock Style="{StaticResource Glyph}">
|
||||
|
|
|
|||
|
|
@ -573,7 +573,7 @@ namespace Flow.Launcher.ViewModel
|
|||
[RelayCommand]
|
||||
private void TogglePreview()
|
||||
{
|
||||
if (Settings.UseQuickLook && CanExternalPreviewSelectedResult(out var path))
|
||||
if (Settings.UseExternalPreview && CanExternalPreviewSelectedResult(out var path))
|
||||
{
|
||||
if (Settings.AlwaysPreview == true && PreviewVisible)
|
||||
{
|
||||
|
|
@ -653,7 +653,7 @@ namespace Flow.Launcher.ViewModel
|
|||
|
||||
private void UpdatePreview()
|
||||
{
|
||||
if (Settings.UseQuickLook)
|
||||
if (Settings.UseExternalPreview)
|
||||
{
|
||||
if (CanExternalPreviewSelectedResult(out var path))
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue