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

This commit is contained in:
zlzw 2022-11-17 15:30:01 +08:00
parent 38029f7268
commit b8ec25c94e

View File

@ -320,6 +320,14 @@ public class LiveUserDialogFragment extends AbsDialogFragment implements View.On
case SETTING_ACTION_ANC_ADM:
mSetting.setVisibility(View.VISIBLE);
}
switch (mAction){
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);
if (obj.containsKey("user_president_name") && !StringUtil.isEmpty(obj.getString("user_president_name"))) {