From 64afeedfc5667521b34463ce627d641c96663798 Mon Sep 17 00:00:00 2001 From: Vic <10308169+VictoriousRaptor@users.noreply.github.com> Date: Sun, 14 May 2023 01:51:20 +0800 Subject: [PATCH] Rename variable --- Flow.Launcher.Infrastructure/UserSettings/Settings.cs | 2 +- Flow.Launcher/SettingWindow.xaml | 2 +- Flow.Launcher/ViewModel/MainViewModel.cs | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Flow.Launcher.Infrastructure/UserSettings/Settings.cs b/Flow.Launcher.Infrastructure/UserSettings/Settings.cs index 17abec804..3e63c2e65 100644 --- a/Flow.Launcher.Infrastructure/UserSettings/Settings.cs +++ b/Flow.Launcher.Infrastructure/UserSettings/Settings.cs @@ -160,7 +160,7 @@ namespace Flow.Launcher.Infrastructure.UserSettings /// public bool ShouldUsePinyin { get; set; } = false; - public bool UseQuickLook { get; set; } = false; + public bool UseExternalPreview { get; set; } = false; public bool AlwaysPreview { get; set; } = false; diff --git a/Flow.Launcher/SettingWindow.xaml b/Flow.Launcher/SettingWindow.xaml index 2b39b3b94..49877cb66 100644 --- a/Flow.Launcher/SettingWindow.xaml +++ b/Flow.Launcher/SettingWindow.xaml @@ -868,7 +868,7 @@ diff --git a/Flow.Launcher/ViewModel/MainViewModel.cs b/Flow.Launcher/ViewModel/MainViewModel.cs index 06ac46209..ad5f810bc 100644 --- a/Flow.Launcher/ViewModel/MainViewModel.cs +++ b/Flow.Launcher/ViewModel/MainViewModel.cs @@ -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)) {