From 38029f726853fcdc3f9bffcaccc858e7bf5fba2c Mon Sep 17 00:00:00 2001 From: zlzw <583819556@qq.com> Date: Thu, 17 Nov 2022 15:21:57 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E7=94=A8=E6=88=B7=E5=8D=A1?= =?UTF-8?q?=E7=89=87=E9=BD=BF=E8=BD=AE=E5=87=BA=E7=8E=B0=E7=9A=84=E6=9D=83?= =?UTF-8?q?=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/yunbao/live/dialog/LiveUserDialogFragment.java | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/live/src/main/java/com/yunbao/live/dialog/LiveUserDialogFragment.java b/live/src/main/java/com/yunbao/live/dialog/LiveUserDialogFragment.java index f01257527..6959cbf07 100644 --- a/live/src/main/java/com/yunbao/live/dialog/LiveUserDialogFragment.java +++ b/live/src/main/java/com/yunbao/live/dialog/LiveUserDialogFragment.java @@ -312,8 +312,13 @@ public class LiveUserDialogFragment extends AbsDialogFragment implements View.On } else { btn_live.setVisibility(View.GONE); } - if(mType==TYPE_ANC_AUD){ - mSetting.setVisibility(View.VISIBLE); + switch (mType){ + case TYPE_ANC_AUD: + case SETTING_ACTION_ADM: + case SETTING_ACTION_SUP: + case SETTING_ACTION_ANC_AUD: + case SETTING_ACTION_ANC_ADM: + mSetting.setVisibility(View.VISIBLE); } if (isAnchor) { mGuardLayout.setVisibility(View.VISIBLE);