From 363f2c5ddc053de70b419edb14d6a813df6bc92c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=80=81=E7=9A=AE?= <14840170+lao-pi123@user.noreply.gitee.com> Date: Wed, 6 Nov 2024 15:25:04 +0800 Subject: [PATCH] =?UTF-8?q?Google=E5=8C=85=EF=BC=8C=E5=8F=AA=E6=98=BE?= =?UTF-8?q?=E7=A4=BAGoogle=E7=99=BB=E5=BD=95=E5=92=8C=E6=89=8B=E6=9C=BA?= =?UTF-8?q?=E7=99=BB=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/yunbao/main/activity/EntryActivity.java | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/main/src/main/java/com/yunbao/main/activity/EntryActivity.java b/main/src/main/java/com/yunbao/main/activity/EntryActivity.java index 669f3f522..53873fb3a 100644 --- a/main/src/main/java/com/yunbao/main/activity/EntryActivity.java +++ b/main/src/main/java/com/yunbao/main/activity/EntryActivity.java @@ -417,6 +417,16 @@ public class EntryActivity extends AppCompatActivity { webViewLayout.setVisibility(View.GONE); } }); + + + // 如果是Google包,只显示Google登录和手机登录 + if (CommonAppConfig.IS_GOOGLE_PLAY == 1){ + lt_btn_facebook.setVisibility(View.GONE); + btn_google.setVisibility(View.VISIBLE); + btn_phone.setVisibility(View.VISIBLE); + btn_line.setVisibility(View.GONE); + lt_btn_twitter.setVisibility(View.GONE); + } } private void verfiy(int loginType) {