From 96daf73a5c7d3acbe69496a164b4f67fff960627 Mon Sep 17 00:00:00 2001 From: 18401019693 Date: Mon, 14 Aug 2023 10:16:06 +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, 3 insertions(+), 3 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 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);