فهرست منبع

Remove unused command

Ruben 3 ماه پیش
والد
کامیت
9ae46e56a8
1فایلهای تغییر یافته به همراه0 افزوده شده و 5 حذف شده
  1. 0 5
      src/PicView.Avalonia/ViewModels/MainViewModel.cs

+ 0 - 5
src/PicView.Avalonia/ViewModels/MainViewModel.cs

@@ -29,7 +29,6 @@ public class MainViewModel : ReactiveObject
     public GalleryViewModel Gallery { get; } = new();
     public ToolsViewModel Tools { get; } = new();
     public ExifViewModel? Exif { get; set;  }
-    
     public FileAssociationsViewModel? AssociationsViewModel { get; set; }
 
     public MainViewModel(IPlatformSpecificService? platformSpecificService, IPlatformWindowService? platformWindowService)
@@ -145,8 +144,6 @@ public class MainViewModel : ReactiveObject
 
         ChangeCtrlZoomCommand = FunctionsHelper.CreateReactiveCommand(FunctionsMapper.ChangeCtrlZoom);
 
-        ColorPickerCommand = FunctionsHelper.CreateReactiveCommand(FunctionsMapper.ColorPicker);
-
         ToggleTaskbarProgressCommand = FunctionsHelper.CreateReactiveCommand(FunctionsMapper.ToggleTaskbarProgress);
         
         ToggleConstrainBackgroundColorCommand = FunctionsHelper.CreateReactiveCommand(FunctionsMapper.ToggleConstrainBackgroundColor);
@@ -240,8 +237,6 @@ public class MainViewModel : ReactiveObject
 
     public ReactiveCommand<Unit, Unit>? ToggleSubdirectoriesCommand { get; }
 
-    public ReactiveCommand<Unit, Unit>? ColorPickerCommand { get; }
-
     public ReactiveCommand<Unit, Unit>? ResetSettingsCommand { get; }
 
     public ReactiveCommand<Unit, Unit>? ShowSideBySideCommand { get; }