瀏覽代碼

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; }