Fix preview cards for uncollapsible statuses (#1826)
This commit is contained in:
parent
c64df0fd1d
commit
4219871095
1 changed files with 1 additions and 1 deletions
|
@ -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());
|
||||||
|
|
Loading…
Reference in a new issue