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 b47e8bfa8..141ad90e3 100644 --- a/live/src/main/java/com/yunbao/live/dialog/LiveGiftPopup.java +++ b/live/src/main/java/com/yunbao/live/dialog/LiveGiftPopup.java @@ -464,7 +464,7 @@ public class LiveGiftPopup extends AbsDialogFragment { goldText.setText(coinModel.getGold()); diamondText.setText(coinModel.getCoin()); lvStr.setText("Lv." + coinModel.getUserLevel()); - int nextLeve = Integer.parseInt(coinModel.getUserNextLevelRewards()); + int nextLeve = Integer.parseInt(coinModel.getUserNextLevelRewards())+Integer.parseInt(coinModel.getUserLevelCurrentConsumption()); 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);