修改更新弹窗文案

This commit is contained in:
kehaoyuan
2020-06-24 11:54:53 +08:00
parent 6b5fb7d8bc
commit 9a7d4997c2
2 changed files with 2 additions and 2 deletions

View File

@ -83,7 +83,7 @@ public class UpdateManager {
if (downloadEntity.getName().contains("光环助手") && isShowDownload) {
float size = (((float) downloadEntity.getProgress() / 1024) / 1024);
DecimalFormat df = new DecimalFormat("0.00");
appProgressSize.setText((df.format(size) + "Mb"));
appProgressSize.setText((df.format(size) + "MB"));
appProgressRemain.setText(String.format("剩余%s", SpeedUtils.getRemainSecondTime(downloadEntity.getSize(),
downloadEntity.getProgress(), downloadEntity.getSpeed() * 1024)));
app_pb_progress.setProgress((int) (downloadEntity.getPercent() * 10));