mirror of https://github.com/Cysharp/UniTask
fix: incorrect download progress reporting
parent
f057abff0f
commit
a2f6f84bde
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue