From 264865fdc35f8a389f6b50ffdc109dfcdfe99e8f Mon Sep 17 00:00:00 2001 From: Sylvain Berfini Date: Fri, 5 Nov 2021 17:06:39 +0100 Subject: [PATCH] Hide reply chat bubble if original message is missing --- app/src/main/res/layout/chat_message_list_cell.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/res/layout/chat_message_list_cell.xml b/app/src/main/res/layout/chat_message_list_cell.xml index 0d56b3f67..f25d32023 100644 --- a/app/src/main/res/layout/chat_message_list_cell.xml +++ b/app/src/main/res/layout/chat_message_list_cell.xml @@ -166,7 +166,7 @@ android:layout_gravity="@{data.chatMessage.outgoing ? Gravity.RIGHT : Gravity.LEFT}" app:data="@{data.replyData}" app:clickListener="@{replyClickListener}" - android:visibility="@{data.chatMessage.reply ? View.VISIBLE : View.GONE, default=gone}" /> + android:visibility="@{data.replyData != null ? View.VISIBLE : View.GONE, default=gone}" />