mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Use negated pattern.
This commit is contained in:
@@ -573,7 +573,7 @@ public sealed class ImageConvertViewModel : ViewModelBase
|
||||
{
|
||||
var warning = false;
|
||||
|
||||
if(!(plugin is IWritableImage outputFormat))
|
||||
if(plugin is not IWritableImage outputFormat)
|
||||
{
|
||||
await MessageBoxManager.GetMessageBoxStandardWindow("Error", "Error trying to find selected plugin",
|
||||
icon: Icon.Error).ShowDialog(_view);
|
||||
|
||||
Reference in New Issue
Block a user