[Refactor] General reformat and clean-up.

This commit is contained in:
2025-11-24 20:12:10 +00:00
parent 8331fba1e4
commit a58f2e60e5
415 changed files with 4920 additions and 4829 deletions

View File

@@ -137,15 +137,19 @@ public partial class MhddLogViewModel : ViewModelBase
Match sectorSizeMatch = SectorSizeRegex().Match(header);
if(sectorSizeMatch.Success)
{
SectorSize = string.Format(UI._0_bytes_markup,
ParseNumberWithSeparator(sectorSizeMatch.Groups[1].Value));
}
// Parse SCAN BLOCK SIZE field
Match scanBlockMatch = ScanBlockSizeRegex().Match(header);
if(scanBlockMatch.Success)
{
ScanBlockSize = string.Format(UI._0_sectors_markup,
ParseNumberWithSeparator(scanBlockMatch.Groups[1].Value));
}
}
catch(Exception ex)
{