修复守护问题
This commit is contained in:
parent
6bdd81038b
commit
d243ffb380
@ -2622,6 +2622,18 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
|
||||
tmp = chatBean;
|
||||
}
|
||||
setGuardIcon(tmp);
|
||||
if (mContext instanceof LiveAudienceActivity) {
|
||||
int type = 0;
|
||||
GuardUserModel model = new GuardUserModel();
|
||||
if (TextUtils.isEmpty(guardUserModel.getGuardType())) {
|
||||
type = Integer.parseInt(guardUserModel.getGuardType());
|
||||
}
|
||||
if (chatBean.getGuardType() != 0 && chatBean.getGuardType() > type) {
|
||||
model.setGuardType(String.valueOf(chatBean.getGuardType()));
|
||||
model.setGuardUserAvatar(chatBean.getAvatar());
|
||||
}
|
||||
setGuardIcon(model);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user