Fix test + cleaning

This commit is contained in:
Valere 2020-08-10 15:42:00 +02:00
parent 5f76f182f6
commit d6f96e3d64
1 changed files with 2 additions and 1 deletions

View File

@ -88,7 +88,8 @@ abstract class MessageFileItem : AbsMessageItem<MessageFileItem.Holder>() {
holder.fileImageWrapper.setOnLongClickListener(attributes.itemLongClickListener)
holder.filenameView.paintFlags = (holder.filenameView.paintFlags or Paint.UNDERLINE_TEXT_FLAG)
holder.eventSendingIndicator.isVisible = attributes.informationData.sendState == SendState.SENDING || attributes.informationData.sendState == SendState.ENCRYPTING
holder.eventSendingIndicator.isVisible = attributes.informationData.sendState == SendState.SENDING
|| attributes.informationData.sendState == SendState.ENCRYPTING
}
override fun unbind(holder: Holder) {