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:
@@ -389,7 +389,7 @@ public sealed class ImageVerifyViewModel : ViewModelBase
|
||||
|
||||
if(VerifyImageChecked)
|
||||
{
|
||||
if(!(_inputFormat is IVerifiableImage verifiableImage))
|
||||
if(_inputFormat is not IVerifiableImage verifiableImage)
|
||||
await Dispatcher.UIThread.InvokeAsync(() =>
|
||||
{
|
||||
ImageResultVisible = true;
|
||||
@@ -519,7 +519,7 @@ public sealed class ImageVerifyViewModel : ViewModelBase
|
||||
|
||||
endCheck = DateTime.UtcNow;
|
||||
}
|
||||
else if(!(verifiableSectorsImage is null))
|
||||
else if(verifiableSectorsImage is not null)
|
||||
{
|
||||
ulong remainingSectors = _inputFormat.Info.Sectors;
|
||||
ulong currentSector = 0;
|
||||
|
||||
Reference in New Issue
Block a user