Merge into pattern.

This commit is contained in:
2021-08-17 18:24:01 +01:00
parent fdff1d74c9
commit 4fcaeffc85
7 changed files with 9 additions and 17 deletions

View File

@@ -320,11 +320,11 @@ namespace Aaru.Gui.ViewModels.Windows
break;
}
case MediaModel mediaModel when mediaModel.NonRemovable:
case MediaModel { NonRemovable: true }:
ContentPanel = "Non-removable device commands not yet implemented";
break;
case MediaModel mediaModel when mediaModel.NoMediaInserted:
case MediaModel { NoMediaInserted: true }:
ContentPanel = "No media inserted";
break;