From fc2f70cb856a9e72795723b641f53a2037029bad Mon Sep 17 00:00:00 2001 From: Niels Andriesse Date: Tue, 10 Sep 2019 09:56:53 +1000 Subject: [PATCH] Hide link preview cancel button --- .../thoughtcrime/securesms/components/LinkPreviewView.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/org/thoughtcrime/securesms/components/LinkPreviewView.java b/src/org/thoughtcrime/securesms/components/LinkPreviewView.java index 44732b431e..370728fb9a 100644 --- a/src/org/thoughtcrime/securesms/components/LinkPreviewView.java +++ b/src/org/thoughtcrime/securesms/components/LinkPreviewView.java @@ -12,13 +12,13 @@ import android.view.ViewGroup; import android.widget.FrameLayout; import android.widget.TextView; -import network.loki.messenger.R; import org.thoughtcrime.securesms.linkpreview.LinkPreview; import org.thoughtcrime.securesms.mms.GlideRequests; import org.thoughtcrime.securesms.mms.ImageSlide; import org.thoughtcrime.securesms.mms.SlidesClickedListener; import org.thoughtcrime.securesms.util.ThemeUtil; +import network.loki.messenger.R; import okhttp3.HttpUrl; public class LinkPreviewView extends FrameLayout { @@ -76,7 +76,7 @@ public class LinkPreviewView extends FrameLayout { container.setBackgroundColor(Color.TRANSPARENT); container.setPadding(0, 0, 0, 0); divider.setVisibility(VISIBLE); - closeButton.setVisibility(VISIBLE); + // closeButton.setVisibility(VISIBLE); closeButton.setOnClickListener(v -> { if (closeClickedListener != null) {