修改社区帖子评论作者标签显示错误
This commit is contained in:
@ -540,7 +540,7 @@ abstract class BaseCommentAdapter(
|
||||
|
||||
fun bindView(binding: ItemArticleDetailCommentBinding, comment: CommentEntity) {
|
||||
binding.userNameTv.text = comment.user.name
|
||||
binding.authorHintIv.goneIf(comment.me?.isContentOwner == false)
|
||||
binding.authorHintIv.goneIf(comment.me?.isContentOwner == false || comment.me?.isContentOwner == null)
|
||||
binding.badgeIv.goneIf(comment.user.badge == null)
|
||||
ImageUtils.display(binding.badgeIv, comment.user.badge?.icon)
|
||||
binding.badgeTv.text = comment.user.badge?.name
|
||||
|
||||
Reference in New Issue
Block a user