Fix own name color in dual-side bubbles

This commit is contained in:
SpiritCroc 2020-07-18 15:28:24 +02:00
parent 3ab88153c0
commit e26010bf14

View file

@ -110,6 +110,7 @@ abstract class AbsMessageItem<H : AbsMessageItem.Holder> : AbsBaseMessageItem<H>
holder.bubbleMemberNameView.visibility = View.VISIBLE
holder.bubbleMemberNameView.setOnClickListener(_memberNameClickListener)
holder.bubbleMemberNameView.text = attributes.informationData.memberName
holder.bubbleMemberNameView.setTextColor(attributes.getMemberNameColor())
holder.bubbleMemberNameView.setOnLongClickListener(attributes.itemLongClickListener)
} else {
holder.bubbleTimeView.visibility = View.GONE