Compare commits

..

2 commits

Author SHA1 Message Date
jiuqianyuan
fe945a9698
Merge 9137bd0924 into 693afe3560 2025-11-24 15:59:40 +08:00
jiuqianyuan
9137bd0924 Fix: download to fast, speed displayed as 0. 2025-11-24 15:59:01 +08:00

View file

@ -103,9 +103,15 @@ public class DownloaderHelper
{ {
var finalSpeed = (maxSpeed / 1000 / 1000).ToString("#0.0"); var finalSpeed = (maxSpeed / 1000 / 1000).ToString("#0.0");
progress.Report(finalSpeed); progress.Report(finalSpeed);
}else if (value.Error != null) { }
else if (value.Error != null)
{
progress.Report(value.Error?.Message); progress.Report(value.Error?.Message);
} }
else
{
progress.Report("0");
}
} }
}; };
//progress.Report("......"); //progress.Report("......");