General code cleanup and style refactor.

This commit is contained in:
2022-11-15 15:58:43 +00:00
parent f59ecffb59
commit 2f9b7fe0a1
1324 changed files with 36815 additions and 37688 deletions

View File

@@ -30,8 +30,6 @@
// Copyright © 2011-2022 Natalia Portillo
// ****************************************************************************/
namespace Aaru.Gui.ViewModels.Windows;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
@@ -47,6 +45,8 @@ using Avalonia.Controls;
using Avalonia.Threading;
using ReactiveUI;
namespace Aaru.Gui.ViewModels.Windows;
public sealed class ImageVerifyViewModel : ViewModelBase
{
readonly IMediaImage _inputFormat;
@@ -422,11 +422,11 @@ public sealed class ImageVerifyViewModel : ViewModelBase
ImageResultVisible = true;
ImageResultText = discCheckStatus switch
{
true => "Disc image checksums are correct",
false => "Disc image checksums are incorrect",
null => "Disc image does not contain checksums"
};
{
true => "Disc image checksums are correct",
false => "Disc image checksums are incorrect",
null => "Disc image does not contain checksums"
};
});
AaruConsole.VerboseWriteLine("Checking disc image checksums took {0} seconds", checkTime.TotalSeconds);