Compare commits

..

2 commits

Author SHA1 Message Date
jiuqianyuan
153e2161a3
Merge fd45c59227 into 693afe3560 2025-11-24 03:01:35 +08:00
jiuqianyuan
fd45c59227 Fix: download to fast, speed displayed as 0. 2025-11-24 02:41:15 +08:00

View file

@ -103,15 +103,9 @@ 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("......");