mirror of
https://github.com/Cysharp/UniTask.git
synced 2026-05-25 17:30:12 +00:00
fix: incorrect download progress reporting
This commit is contained in:
@@ -243,7 +243,7 @@ namespace Cysharp.Threading.Tasks
|
|||||||
|
|
||||||
if (progress != null && handle.IsValid())
|
if (progress != null && handle.IsValid())
|
||||||
{
|
{
|
||||||
progress.Report(handle.PercentComplete);
|
progress.Report(handle.GetDownloadStatus().Percent);
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
@@ -448,7 +448,7 @@ namespace Cysharp.Threading.Tasks
|
|||||||
|
|
||||||
if (progress != null && handle.IsValid())
|
if (progress != null && handle.IsValid())
|
||||||
{
|
{
|
||||||
progress.Report(handle.PercentComplete);
|
progress.Report(handle.GetDownloadStatus().Percent);
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Reference in New Issue
Block a user