Content in bubbles -> don't show element send state (we have SC one)
This commit is contained in:
parent
ead1258e2a
commit
a64429fcb6
|
@ -183,8 +183,14 @@ abstract class AbsMessageItem<H : AbsMessageItem.Holder> : AbsBaseMessageItem<H>
|
|||
}
|
||||
|
||||
// Render send state indicator
|
||||
holder.sendStateImageView.render(attributes.informationData.sendStateDecoration)
|
||||
holder.eventSendingIndicator.isVisible = attributes.informationData.sendStateDecoration == SendStateDecoration.SENDING_MEDIA
|
||||
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) {
|
||||
|
|
Loading…
Reference in New Issue