diff --git a/live/src/main/java/com/yunbao/live/dialog/LiveGiftPopup.java b/live/src/main/java/com/yunbao/live/dialog/LiveGiftPopup.java index 7075cc511..046ba455f 100644 --- a/live/src/main/java/com/yunbao/live/dialog/LiveGiftPopup.java +++ b/live/src/main/java/com/yunbao/live/dialog/LiveGiftPopup.java @@ -462,13 +462,13 @@ public class LiveGiftPopup extends AbsDialogFragment { goldText.setText(coinModel.getGold()); diamondText.setText(coinModel.getCoin()); lvStr.setText("Lv." + coinModel.getUserLevel()); - int nextLeve = Integer.parseInt(coinModel.getUserLevel()); + int nextLeve = Integer.parseInt(coinModel.getUserNextLevelRewards()); int maxLeve = Integer.parseInt(coinModel.getUserLevelMax()); findViewById(R.id.red_point).setVisibility((!TextUtils.isEmpty(coinModel.getUsersPackRedDot())) && TextUtils.equals(coinModel.getUsersPackRedDot(), "1") ? View.VISIBLE : View.GONE); if (maxLeve > nextLeve) { - String leveNext = String.valueOf(nextLeve + 1); - String userNextLevel = coinModel.getUserNextLevelRewards(); + String leveNext = String.valueOf(nextLeve); + String userNextLevel = coinModel.getUserLevelUpgrades(); String hint = String.format(getString(R.string.leveling_points), userNextLevel, leveNext); int leveNextIndexOf = hint.indexOf(leveNext);