遊戲bug修復

This commit is contained in:
18401019693 2023-10-30 11:23:46 +08:00
parent 45372f37b8
commit ec1197e5da
2 changed files with 7 additions and 5 deletions

View File

@ -154,14 +154,14 @@ public class LiveSudGamePopup extends BottomPopupView {
private void initDate() { private void initDate() {
} }
public void BusGetOff(){
@Override
protected void onDismiss() {
Bus.getOff(this); Bus.getOff(this);
super.onDismiss();
} }
@Override
public void dismiss() {
super.dismiss();
}
@Subscribe(threadMode = ThreadMode.MAIN) @Subscribe(threadMode = ThreadMode.MAIN)
public void onHideShow(HideShowEvent event) { public void onHideShow(HideShowEvent event) {

View File

@ -1743,7 +1743,9 @@ public class LiveAudienceActivity extends LiveActivity {
break; break;
case 2: case 2:
if (liveSudGamePopupXPopup != null) { if (liveSudGamePopupXPopup != null) {
liveSudGamePopupXPopup.BusGetOff();
liveSudGamePopupXPopup.dialog.dismiss(); liveSudGamePopupXPopup.dialog.dismiss();
liveSudGamePopupXPopup = null; liveSudGamePopupXPopup = null;
} }
break; break;