6.5.4礼物冠名

This commit is contained in:
18401019693 2023-08-14 13:47:09 +08:00
parent a618bee6b7
commit c11c66f56f

View File

@ -277,7 +277,7 @@ public class LiveGiftPopup extends AbsDialogFragment {
.append(userInfo.getId()) .append(userInfo.getId())
.append("&token=") .append("&token=")
.append(userInfo.getToken()) .append(userInfo.getToken())
.append("no_back=1") .append("&no_back=1")
.append("&for"); .append("&for");
Bundle bundle = new Bundle(); Bundle bundle = new Bundle();
bundle.putString("url", htmlUrl.toString()); bundle.putString("url", htmlUrl.toString());
@ -467,7 +467,7 @@ public class LiveGiftPopup extends AbsDialogFragment {
int maxLeve = Integer.parseInt(coinModel.getUserLevelMax()); int maxLeve = Integer.parseInt(coinModel.getUserLevelMax());
findViewById(R.id.red_point).setVisibility((!TextUtils.isEmpty(coinModel.getUsersPackRedDot())) && findViewById(R.id.red_point).setVisibility((!TextUtils.isEmpty(coinModel.getUsersPackRedDot())) &&
TextUtils.equals(coinModel.getUsersPackRedDot(), "1") ? View.VISIBLE : View.GONE); TextUtils.equals(coinModel.getUsersPackRedDot(), "1") ? View.VISIBLE : View.GONE);
if (maxLeve > nextLeve) { if (!TextUtils.equals(coinModel.getUserLevel(),coinModel.getUserLevelMax())) {
String leveNext = String.valueOf(nextLeve); String leveNext = String.valueOf(nextLeve);
String userNextLevel = coinModel.getUserLevelUpgrades(); String userNextLevel = coinModel.getUserLevelUpgrades();
String hint = String.format(getString(R.string.leveling_points), String hint = String.format(getString(R.string.leveling_points),