mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
[Refactor] Use collection expressions.
This commit is contained in:
@@ -100,8 +100,8 @@ public sealed class ImageVerifyViewModel : ViewModelBase
|
||||
StopCommand = ReactiveCommand.Create(ExecuteStopCommand);
|
||||
_inputFormat = inputFormat;
|
||||
_cancel = false;
|
||||
ErrorList = new ObservableCollection<LbaModel>();
|
||||
UnknownList = new ObservableCollection<LbaModel>();
|
||||
ErrorList = [];
|
||||
UnknownList = [];
|
||||
VerifyImageEnabled = true;
|
||||
VerifySectorsEnabled = true;
|
||||
CloseVisible = true;
|
||||
@@ -447,8 +447,8 @@ public sealed class ImageVerifyViewModel : ViewModelBase
|
||||
if(VerifySectorsChecked)
|
||||
{
|
||||
var chkStopwatch = new Stopwatch();
|
||||
List<ulong> failingLbas = new();
|
||||
List<ulong> unknownLbas = new();
|
||||
List<ulong> failingLbas = [];
|
||||
List<ulong> unknownLbas = [];
|
||||
|
||||
await Dispatcher.UIThread.InvokeAsync(() =>
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user