Content in bubbles -> don't show element send state (we have SC one)
This commit is contained in:
parent
ead1258e2a
commit
a64429fcb6
|
@ -183,9 +183,15 @@ abstract class AbsMessageItem<H : AbsMessageItem.Holder> : AbsBaseMessageItem<H>
|
|||
}
|
||||
|
||||
// Render send state indicator
|
||||
if (contentInBubble) {
|
||||
// Bubbles have their own decoration in the anonymous read receipt (in the message footer)
|
||||
holder.sendStateImageView.render(SendStateDecoration.NONE)
|
||||
holder.eventSendingIndicator.isVisible = false
|
||||
} else {
|
||||
holder.sendStateImageView.render(attributes.informationData.sendStateDecoration)
|
||||
holder.eventSendingIndicator.isVisible = attributes.informationData.sendStateDecoration == SendStateDecoration.SENDING_MEDIA
|
||||
}
|
||||
}
|
||||
|
||||
override fun unbind(holder: H) {
|
||||
attributes.avatarRenderer.clear(holder.avatarImageView)
|
||||
|
|
Loading…
Reference in New Issue