From 2a3c2fdb287f9ac0bac3580350830f7b2b696703 Mon Sep 17 00:00:00 2001 From: Ryan ZHAO Date: Fri, 20 Nov 2020 11:41:50 +1100 Subject: [PATCH] fix link preview close button --- res/layout/link_preview.xml | 4 ++-- .../securesms/components/LinkPreviewView.java | 11 +++++++++++ .../securesms/conversation/ConversationItem.java | 5 ++--- 3 files changed, 15 insertions(+), 5 deletions(-) diff --git a/res/layout/link_preview.xml b/res/layout/link_preview.xml index 493f65a41f..c4215b810a 100644 --- a/res/layout/link_preview.xml +++ b/res/layout/link_preview.xml @@ -79,11 +79,11 @@ android:layout_marginEnd="6dp" android:layout_marginTop="4dp" android:src="@drawable/ic_close_white_18dp" - android:visibility="visible" + android:visibility="gone" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintTop_toTopOf="parent" app:tint="@color/gray70" - tools:ignore="MissingPrefix" /> + tools:visibility="visible" />