merge: 'origin/feat/hide-empty-link-previews' into feat/merge-commits

This commit is contained in:
FineFindus
2023-11-08 18:36:36 +01:00
2 changed files with 5 additions and 2 deletions

View File

@@ -88,7 +88,10 @@ public class LinkCardStatusDisplayItem extends StatusDisplayItem{
crossfadeDrawable.setBlurhashDrawable(card.blurhashPlaceholder);
crossfadeDrawable.setCrossfadeAlpha(item.status.spoilerRevealed ? 0f : 1f);
photo.setImageDrawable(crossfadeDrawable);
photo.setVisibility(View.VISIBLE);
didClear=false;
} else {
photo.setVisibility(View.GONE);
}
// if there's no image, we don't want to cover the inset borders