修复firebase反馈的MainActivity.forward空指针问题
This commit is contained in:
parent
f60aeaa35e
commit
025c8d74aa
@ -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();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user