Merge pull request #607 from Redpenguine/master

fix: incorrect download progress reporting
pull/610/head
Yoshifumi Kawai 2024-08-14 19:54:15 +09:00 committed by GitHub
commit 9057452c86
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -243,7 +243,7 @@ namespace Cysharp.Threading.Tasks
if (progress != null && handle.IsValid())
{
progress.Report(handle.PercentComplete);
progress.Report(handle.GetDownloadStatus().Percent);
}
return true;
@ -448,7 +448,7 @@ namespace Cysharp.Threading.Tasks
if (progress != null && handle.IsValid())
{
progress.Report(handle.PercentComplete);
progress.Report(handle.GetDownloadStatus().Percent);
}
return true;