调整用户卡片齿轮出现的权限

This commit is contained in:
zlzw 2022-11-17 15:21:57 +08:00
parent d2fdccadf2
commit 38029f7268

View File

@ -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);