mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Redo Reformat and cleanup.
Rider EAP was having a bug interpreting .editorconfig that didn't generate the code style as we wanted. This is now done with Rider-stable.
This commit is contained in:
@@ -419,9 +419,7 @@ public sealed class ImageChecksumViewModel : ViewModelBase
|
||||
ProgressMax = 1;
|
||||
Progress2Max = (int)(_inputFormat.Info.Sectors / SECTORS_TO_READ);
|
||||
|
||||
if(formatHasTracks &&
|
||||
ChecksumTracksChecked &&
|
||||
opticalMediaImage != null)
|
||||
if(formatHasTracks && ChecksumTracksChecked && opticalMediaImage != null)
|
||||
ProgressMax += opticalMediaImage.Tracks.Count;
|
||||
else
|
||||
{
|
||||
@@ -775,14 +773,10 @@ public sealed class ImageChecksumViewModel : ViewModelBase
|
||||
}
|
||||
|
||||
if(ChecksumTracksChecked)
|
||||
{
|
||||
await Dispatcher.UIThread.InvokeAsync(() => { TrackChecksumsVisible = true; });
|
||||
}
|
||||
|
||||
if(ChecksumMediaChecked)
|
||||
{
|
||||
await Dispatcher.UIThread.InvokeAsync(() => { MediaChecksumsVisible = true; });
|
||||
}
|
||||
|
||||
Statistics.AddCommand("checksum");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user