From 12b51eb2392fae9f251476dbd29a69df9291abd8 Mon Sep 17 00:00:00 2001 From: Jack251970 <1160210343@qq.com> Date: Tue, 17 Jun 2025 16:31:11 +0800 Subject: [PATCH] Code quality --- .../Views/QuickAccessLinkSettings.xaml.cs | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/Plugins/Flow.Launcher.Plugin.Explorer/Views/QuickAccessLinkSettings.xaml.cs b/Plugins/Flow.Launcher.Plugin.Explorer/Views/QuickAccessLinkSettings.xaml.cs index 1cfc3b6c0..7cc46434f 100644 --- a/Plugins/Flow.Launcher.Plugin.Explorer/Views/QuickAccessLinkSettings.xaml.cs +++ b/Plugins/Flow.Launcher.Plugin.Explorer/Views/QuickAccessLinkSettings.xaml.cs @@ -47,6 +47,9 @@ public partial class QuickAccessLinkSettings : INotifyPropertyChanged } } + public bool IsFileSelected { get; set; } = true; // Default to File + public bool IsFolderSelected { get; set; } + private bool IsEdit { get; } private AccessLink SelectedAccessLink { get; } @@ -162,12 +165,4 @@ public partial class QuickAccessLinkSettings : INotifyPropertyChanged { PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName)); } - - public bool IsFileSelected { get; set; } = true; // Default to File - public bool IsFolderSelected { get; set; } - - public QuickAccessLinkSettings() - { - InitializeComponent(); - } }