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;
|
||||
@@ -64,6 +62,8 @@ using Schemas;
|
||||
using DeviceInfo = Aaru.Core.Devices.Info.DeviceInfo;
|
||||
using MediaType = Aaru.CommonTypes.MediaType;
|
||||
|
||||
namespace Aaru.Gui.ViewModels.Windows;
|
||||
|
||||
public sealed class MediaDumpViewModel : ViewModelBase
|
||||
{
|
||||
readonly string _devicePath;
|
||||
@@ -693,7 +693,7 @@ public sealed class MediaDumpViewModel : ViewModelBase
|
||||
|
||||
if(_resume == null ||
|
||||
_resume.NextBlock <= _resume.LastBlock ||
|
||||
_resume.BadBlocks.Count != 0 && !_resume.Tape)
|
||||
(_resume.BadBlocks.Count != 0 && !_resume.Tape))
|
||||
return;
|
||||
|
||||
await MessageBoxManager.
|
||||
@@ -772,7 +772,7 @@ public sealed class MediaDumpViewModel : ViewModelBase
|
||||
return;
|
||||
}
|
||||
|
||||
var parsedOptions = new Dictionary<string, string>();
|
||||
Dictionary<string, string> parsedOptions = new();
|
||||
|
||||
/* TODO: Options
|
||||
if(grpOptions.Content is StackLayout stkFormatOptions)
|
||||
|
||||
Reference in New Issue
Block a user