forked from organicmaps/organicmaps
[new downloader][android] fix: Progress display fix in downloader.
This commit is contained in:
parent
f522792bb1
commit
b1ce87f0f9
1 changed files with 1 additions and 1 deletions
|
@ -419,7 +419,7 @@ class DownloaderAdapter extends RecyclerView.Adapter<DownloaderAdapter.ViewHolde
|
|||
|
||||
if (inProgress)
|
||||
{
|
||||
mProgress.setProgress(mItem.status == CountryItem.STATUS_PROGRESS ? mItem.progress : 0);
|
||||
mProgress.setProgress(mItem.status == CountryItem.STATUS_PROGRESS ? (int)(mItem.progress * 100L / mItem.totalSize) : 0);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue