From d6f96e3d64a3655889a7d2a377dc26146821a7d8 Mon Sep 17 00:00:00 2001 From: Valere Date: Mon, 10 Aug 2020 15:42:00 +0200 Subject: [PATCH] Fix test + cleaning --- .../features/home/room/detail/timeline/item/MessageFileItem.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vector/src/main/java/im/vector/app/features/home/room/detail/timeline/item/MessageFileItem.kt b/vector/src/main/java/im/vector/app/features/home/room/detail/timeline/item/MessageFileItem.kt index aa07a65c17..37885d0751 100644 --- a/vector/src/main/java/im/vector/app/features/home/room/detail/timeline/item/MessageFileItem.kt +++ b/vector/src/main/java/im/vector/app/features/home/room/detail/timeline/item/MessageFileItem.kt @@ -88,7 +88,8 @@ abstract class MessageFileItem : AbsMessageItem() { 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) {