修复firebase反馈的MainActivity.forward空指针问题

This commit is contained in:
zlzw 2022-10-28 10:51:48 +08:00
parent f60aeaa35e
commit 025c8d74aa

View File

@ -123,7 +123,7 @@ public class OneLoginDialog extends AbsDialogFragment {
home_zdy_img_us = obj.getString("home_zdy_img_us");
home_zdy_img_cn = obj.getString("home_zdy_img_cn");
}
MainActivity.forward(getContext(), false);
MainActivity.forward(mContext, false);
IMLoginManager.get(mContext).setNewUserGif(true);
IMLoginManager.get(mContext).setisNewUserOne(true);
gotoLive(obj.getString("anchor_id"));
@ -132,7 +132,7 @@ public class OneLoginDialog extends AbsDialogFragment {
}
// OneLoginActivity.act.finish();
} else {
MainActivity.forward(getContext(), false);
MainActivity.forward(mContext, false);
// OneLoginActivity.act.finish();
}
}