Fix average speed not showing correctly when dump finished.

This commit is contained in:
2025-08-19 18:59:40 +01:00
parent 0e689550b7
commit 5c2bac69e3

View File

@@ -1400,8 +1400,8 @@ partial class Dump
UpdateStatus?.Invoke(string.Format(Localization.Core.Average_speed_0,
ByteSize.FromBytes(blockSize * (blocks + 1))
.Per(totalDuration.Milliseconds()))
.Humanize());
.Per(totalDuration.Milliseconds())
.Humanize()));
if(maxSpeed > 0)
{