Cleaning up warning

This commit is contained in:
2023-09-05 21:22:30 +02:00
parent ecfd0d1b93
commit e6fd8d4ab5
34 changed files with 119 additions and 183 deletions

View File

@@ -20,7 +20,7 @@ public class CompressionUserCommandHandler : AggregatedUserCommandHandler
IClipboardService clipboardService)
{
_clipboardService = clipboardService;
_markedItems = appState.SelectedTab.Map(t => t?.MarkedItems).Switch();
_markedItems = appState.SelectedTab.Map(t => t?.MarkedItems)!.Switch();
_selectedItem = appState.SelectedTab.Map(t => t?.CurrentSelectedItem).Switch();
AddCommandHandler(new IUserCommandHandler[]