From 60ce5572cf410bca84c1da62c30824eb1dd030a0 Mon Sep 17 00:00:00 2001 From: 18401019693 Date: Wed, 16 Aug 2023 15:37:07 +0800 Subject: [PATCH] =?UTF-8?q?6.5.4=E7=A4=BC=E7=89=A9=E5=86=A0=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/yunbao/live/dialog/LiveGiftPopup.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 141ad90e3..6a682dc7f 100644 --- a/live/src/main/java/com/yunbao/live/dialog/LiveGiftPopup.java +++ b/live/src/main/java/com/yunbao/live/dialog/LiveGiftPopup.java @@ -464,8 +464,8 @@ public class LiveGiftPopup extends AbsDialogFragment { goldText.setText(coinModel.getGold()); diamondText.setText(coinModel.getCoin()); lvStr.setText("Lv." + coinModel.getUserLevel()); - int nextLeve = Integer.parseInt(coinModel.getUserNextLevelRewards())+Integer.parseInt(coinModel.getUserLevelCurrentConsumption()); - int maxLeve = Integer.parseInt(coinModel.getUserLevelMax()); + int nextLeve = Integer.parseInt(coinModel.getUserNextLevelRewards()); + int maxLeve = Integer.parseInt(coinModel.getUserLevelMax())+Integer.parseInt(coinModel.getUserLevelCurrentConsumption()); findViewById(R.id.red_point).setVisibility((!TextUtils.isEmpty(coinModel.getUsersPackRedDot())) && TextUtils.equals(coinModel.getUsersPackRedDot(), "1") ? View.VISIBLE : View.GONE); if (!TextUtils.equals(coinModel.getUserLevel(),coinModel.getUserLevelMax())) { @@ -624,6 +624,7 @@ public class LiveGiftPopup extends AbsDialogFragment { giftSendLayout.setVisibility(View.VISIBLE); lianSongHandler.removeCallbacks(lianSongRunnable); mShowLianBtn = false; + getCoin(); } /** @@ -1110,6 +1111,7 @@ public class LiveGiftPopup extends AbsDialogFragment { // //刷新包裹列表wrap_gift_num -1:表示数量没有变化 // mObjGiftSendback = obj; isGetNewWrap = true; + if (isWrap) { Bus.get().post(new LiveParcelItemRefreshEvent().setLiveGiftModel(liveGiftModel)); }