From 025c8d74aabf1c727f25e73e5947654fcd4629de Mon Sep 17 00:00:00 2001 From: zlzw <583819556@qq.com> Date: Fri, 28 Oct 2022 10:51:48 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dfirebase=E5=8F=8D=E9=A6=88?= =?UTF-8?q?=E7=9A=84MainActivity.forward=E7=A9=BA=E6=8C=87=E9=92=88?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main/src/main/java/com/yunbao/main/dialog/OneLoginDialog.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(); } }