From 4219871095f6cdeb1d2ae54ab60c492242064442 Mon Sep 17 00:00:00 2001 From: Levi Bard Date: Tue, 9 Jun 2020 19:00:23 +0200 Subject: [PATCH] Fix preview cards for uncollapsible statuses (#1826) --- .../com/keylesspalace/tusky/adapter/StatusBaseViewHolder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/keylesspalace/tusky/adapter/StatusBaseViewHolder.java b/app/src/main/java/com/keylesspalace/tusky/adapter/StatusBaseViewHolder.java index eba803ae..0519bf56 100644 --- a/app/src/main/java/com/keylesspalace/tusky/adapter/StatusBaseViewHolder.java +++ b/app/src/main/java/com/keylesspalace/tusky/adapter/StatusBaseViewHolder.java @@ -977,7 +977,7 @@ public abstract class StatusBaseViewHolder extends RecyclerView.ViewHolder { status.getAttachments().size() == 0 && status.getCard() != null && !TextUtils.isEmpty(status.getCard().getUrl()) && - !status.isCollapsed()) { + (!status.isCollapsible() || !status.isCollapsed())) { final Card card = status.getCard(); cardView.setVisibility(View.VISIBLE); cardTitle.setText(card.getTitle());