Fix issue #81 - Open a link when clicking content
This commit is contained in:
parent
9cc5170a70
commit
f3722688c4
|
@ -384,7 +384,7 @@ public class StatusAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder>
|
|||
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);
|
||||
|
|
Loading…
Reference in New Issue