diff --git a/main/src/main/java/com/yunbao/main/dialog/OneLoginDialog.java b/main/src/main/java/com/yunbao/main/dialog/OneLoginDialog.java index 00658ea39..194473c81 100644 --- a/main/src/main/java/com/yunbao/main/dialog/OneLoginDialog.java +++ b/main/src/main/java/com/yunbao/main/dialog/OneLoginDialog.java @@ -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(); } }