From f3722688c4e48ba3b91b43747411f1eefba5ee1d Mon Sep 17 00:00:00 2001 From: Thomas Date: Sun, 22 May 2022 16:54:08 +0200 Subject: [PATCH] Fix issue #81 - Open a link when clicking content --- .../main/java/app/fedilab/android/ui/drawer/StatusAdapter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/app/fedilab/android/ui/drawer/StatusAdapter.java b/app/src/main/java/app/fedilab/android/ui/drawer/StatusAdapter.java index 9d2f7e18..f08a6b29 100644 --- a/app/src/main/java/app/fedilab/android/ui/drawer/StatusAdapter.java +++ b/app/src/main/java/app/fedilab/android/ui/drawer/StatusAdapter.java @@ -384,7 +384,7 @@ public class StatusAdapter extends RecyclerView.Adapter holder.binding.cardTitle.setText(status.card.title); holder.binding.cardDescription.setText(status.card.description); holder.binding.cardUrl.setText(Helper.transformURL(context, status.card.url)); - holder.binding.cardviewContainer.setOnClickListener(v -> Helper.openBrowser(context, Helper.transformURL(context, status.card.url))); + holder.binding.card.setOnClickListener(v -> Helper.openBrowser(context, Helper.transformURL(context, status.card.url))); holder.binding.card.setVisibility(View.VISIBLE); } else { holder.binding.card.setVisibility(View.GONE);