diff --git a/app/src/main/java/com/github/libretube/ui/adapters/CommentsAdapter.kt b/app/src/main/java/com/github/libretube/ui/adapters/CommentsAdapter.kt index 844738bcc..66543465a 100644 --- a/app/src/main/java/com/github/libretube/ui/adapters/CommentsAdapter.kt +++ b/app/src/main/java/com/github/libretube/ui/adapters/CommentsAdapter.kt @@ -73,9 +73,7 @@ class CommentsAdapter( val comment = comments[position] holder.binding.apply { commentAuthor.text = comment.author - if (comment.channelOwner) { - commentAuthor.setBackgroundResource(R.drawable.comment_channel_owner_bg) - } + commentAuthor.setBackgroundResource(if (comment.channelOwner) R.drawable.comment_channel_owner_bg else 0) commentInfos.text = TextUtils.SEPARATOR + comment.commentedTime commentText.movementMethod = LinkMovementMethodCompat.getInstance()