mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-25 09:17:44 +00:00
Hide link preview cancel button
This commit is contained in:
parent
869c06e71a
commit
fc2f70cb85
@ -12,13 +12,13 @@ import android.view.ViewGroup;
|
|||||||
import android.widget.FrameLayout;
|
import android.widget.FrameLayout;
|
||||||
import android.widget.TextView;
|
import android.widget.TextView;
|
||||||
|
|
||||||
import network.loki.messenger.R;
|
|
||||||
import org.thoughtcrime.securesms.linkpreview.LinkPreview;
|
import org.thoughtcrime.securesms.linkpreview.LinkPreview;
|
||||||
import org.thoughtcrime.securesms.mms.GlideRequests;
|
import org.thoughtcrime.securesms.mms.GlideRequests;
|
||||||
import org.thoughtcrime.securesms.mms.ImageSlide;
|
import org.thoughtcrime.securesms.mms.ImageSlide;
|
||||||
import org.thoughtcrime.securesms.mms.SlidesClickedListener;
|
import org.thoughtcrime.securesms.mms.SlidesClickedListener;
|
||||||
import org.thoughtcrime.securesms.util.ThemeUtil;
|
import org.thoughtcrime.securesms.util.ThemeUtil;
|
||||||
|
|
||||||
|
import network.loki.messenger.R;
|
||||||
import okhttp3.HttpUrl;
|
import okhttp3.HttpUrl;
|
||||||
|
|
||||||
public class LinkPreviewView extends FrameLayout {
|
public class LinkPreviewView extends FrameLayout {
|
||||||
@ -76,7 +76,7 @@ public class LinkPreviewView extends FrameLayout {
|
|||||||
container.setBackgroundColor(Color.TRANSPARENT);
|
container.setBackgroundColor(Color.TRANSPARENT);
|
||||||
container.setPadding(0, 0, 0, 0);
|
container.setPadding(0, 0, 0, 0);
|
||||||
divider.setVisibility(VISIBLE);
|
divider.setVisibility(VISIBLE);
|
||||||
closeButton.setVisibility(VISIBLE);
|
// closeButton.setVisibility(VISIBLE);
|
||||||
|
|
||||||
closeButton.setOnClickListener(v -> {
|
closeButton.setOnClickListener(v -> {
|
||||||
if (closeClickedListener != null) {
|
if (closeClickedListener != null) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user