修复打开直播间信件箱闪退问题

This commit is contained in:
zlzw 2024-08-02 09:44:05 +08:00
parent ed642f0137
commit f7db0b0768

View File

@ -59,7 +59,7 @@ public class LiveUserAnchorMailBoxWebInfoPopDialog extends AbsDialogPopupWindow
@Override @Override
protected void onCreate() { protected void onCreate() {
super.onCreate(); super.onCreate();
Bus.getOn(this); // Bus.getOn(this);
mWebView = findViewById(R.id.webView); mWebView = findViewById(R.id.webView);
textView = findViewById(R.id.title); textView = findViewById(R.id.title);
textView.setText(String.format(getContext().getString(R.string.live_user_mailbox_web_title), anchorName)); textView.setText(String.format(getContext().getString(R.string.live_user_mailbox_web_title), anchorName));
@ -97,7 +97,7 @@ public class LiveUserAnchorMailBoxWebInfoPopDialog extends AbsDialogPopupWindow
@Override @Override
public void dismiss() { public void dismiss() {
super.dismiss(); super.dismiss();
Bus.getOff(this); // Bus.getOff(this);
if(dismissListener!=null) { if(dismissListener!=null) {
dismissListener.onDismiss(null); dismissListener.onDismiss(null);
} }