mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
General code cleanup and style refactor.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user