红包 bugfix

This commit is contained in:
huangjian
2022-09-28 15:29:49 +08:00
parent b6e5be214d
commit fd923e1b31

View File

@@ -360,7 +360,6 @@ public class AVRoomActivity extends BaseMvpActivity<IAvRoomView, AvRoomPresenter
initIntentExtra(intent); initIntentExtra(intent);
if (roomUid != 0 && oldRoomUid == roomUid) { if (roomUid != 0 && oldRoomUid == roomUid) {
updateRoomInfo(); updateRoomInfo();
showRedPackage(AvRoomDataManager.get().mCurrentRoomInfo);
showRoomFragment(false); showRoomFragment(false);
dismissLoadingDialog(); dismissLoadingDialog();
return; return;
@@ -490,7 +489,6 @@ public class AVRoomActivity extends BaseMvpActivity<IAvRoomView, AvRoomPresenter
if (giftList != null) { if (giftList != null) {
giftList.clear(); giftList.clear();
} }
if (!isResume) showRedPackage(AvRoomDataManager.get().mCurrentRoomInfo);
isResume = true; isResume = true;
} }
@@ -639,6 +637,7 @@ public class AVRoomActivity extends BaseMvpActivity<IAvRoomView, AvRoomPresenter
singleRoomTipDialog.show(this); singleRoomTipDialog.show(this);
} }
} }
showRedPackage(AvRoomDataManager.get().mCurrentRoomInfo);
} }
/** /**