Skip to content

Commit 64afeed

Browse files
Rename variable
1 parent 2ed33a2 commit 64afeed

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Flow.Launcher.Infrastructure/UserSettings/Settings.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ public CustomBrowserViewModel CustomBrowser
160160
/// </summary>
161161
public bool ShouldUsePinyin { get; set; } = false;
162162

163-
public bool UseQuickLook { get; set; } = false;
163+
public bool UseExternalPreview { get; set; } = false;
164164

165165
public bool AlwaysPreview { get; set; } = false;
166166

Flow.Launcher/SettingWindow.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -868,7 +868,7 @@
868868
<ui:ToggleSwitch
869869
Grid.Column="2"
870870
FocusVisualMargin="5"
871-
IsOn="{Binding Settings.UseQuickLook}"
871+
IsOn="{Binding Settings.UseExternalPreview}"
872872
Style="{DynamicResource SideToggleSwitch}"
873873
ToolTip="{DynamicResource UseQuickLookToolTip}" />
874874
<TextBlock Style="{StaticResource Glyph}">

Flow.Launcher/ViewModel/MainViewModel.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -573,7 +573,7 @@ public string PreviewHotkey
573573
[RelayCommand]
574574
private void TogglePreview()
575575
{
576-
if (Settings.UseQuickLook && CanExternalPreviewSelectedResult(out var path))
576+
if (Settings.UseExternalPreview && CanExternalPreviewSelectedResult(out var path))
577577
{
578578
if (Settings.AlwaysPreview == true && PreviewVisible)
579579
{
@@ -653,7 +653,7 @@ public void ResetPreview()
653653

654654
private void UpdatePreview()
655655
{
656-
if (Settings.UseQuickLook)
656+
if (Settings.UseExternalPreview)
657657
{
658658
if (CanExternalPreviewSelectedResult(out var path))
659659
{

0 commit comments

Comments
 (0)