diff --git a/main/src/main/java/com/yunbao/main/activity/BattlePassActivity.java b/main/src/main/java/com/yunbao/main/activity/BattlePassActivity.java index 0a5b7adee..6eb699604 100644 --- a/main/src/main/java/com/yunbao/main/activity/BattlePassActivity.java +++ b/main/src/main/java/com/yunbao/main/activity/BattlePassActivity.java @@ -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()) {