Fix preview cards for uncollapsible statuses (#1826)

This commit is contained in:
Levi Bard 2020-06-09 19:00:23 +02:00 committed by GitHub
parent c64df0fd1d
commit 4219871095
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -977,7 +977,7 @@ public abstract class StatusBaseViewHolder extends RecyclerView.ViewHolder {
status.getAttachments().size() == 0 && status.getAttachments().size() == 0 &&
status.getCard() != null && status.getCard() != null &&
!TextUtils.isEmpty(status.getCard().getUrl()) && !TextUtils.isEmpty(status.getCard().getUrl()) &&
!status.isCollapsed()) { (!status.isCollapsible() || !status.isCollapsed())) {
final Card card = status.getCard(); final Card card = status.getCard();
cardView.setVisibility(View.VISIBLE); cardView.setVisibility(View.VISIBLE);
cardTitle.setText(card.getTitle()); cardTitle.setText(card.getTitle());