6.5.4礼物冠名

This commit is contained in:
18401019693 2023-08-14 10:16:06 +08:00
parent 55cbd0ff5b
commit 96daf73a5c

View File

@ -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);