6.5.4礼物冠名

This commit is contained in:
18401019693 2023-08-16 15:37:07 +08:00
parent 3761cad653
commit 60ce5572cf

View File

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