Fix preview cards for uncollapsible statuses (#1826)

This commit is contained in:
Levi Bard 2020-06-09 19:00:23 +02:00 committed by Alibek Omarov
parent 3663e263d4
commit bac8f93a26

View File

@ -1023,7 +1023,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());