战令相关UI调整

This commit is contained in:
zlzw 2024-01-26 16:18:23 +08:00
parent 9cc30186cd
commit aef0435b93

View File

@ -210,9 +210,8 @@ public class BattlePassActivity extends AbsActivity {
levelView.setText("Lv." + data.getLevel());
expText.setText(data.getBattlePassExp() + "/" +
(data.getNextLevelExp() == 0 ? data.getBattlePassExp() : data.getNextLevelExp()));
levelProgressView.setMax(data.getNextLevelExp());
levelProgressView.setMin(data.getLastLevelExp());
levelProgressView.setProgress(data.getBattlePassExp());
levelProgressView.setMax(data.getNextLevelExp()-data.getLastLevelExp());
levelProgressView.setProgress(data.getBattlePassExp()-data.getLastLevelExp());
integralView.setText(String.format(WordUtil.getNewString(R.string.battlepass_user_my_integral), data.getPoints()));
for (LiveBattlePassRewardsBean.BattlePassType passType : data.getLive_battle_pass_type()) {