diff --git a/mastodon/src/main/java/org/joinmastodon/android/ui/displayitems/LinkCardStatusDisplayItem.java b/mastodon/src/main/java/org/joinmastodon/android/ui/displayitems/LinkCardStatusDisplayItem.java index 59b08451a..84dc32df7 100644 --- a/mastodon/src/main/java/org/joinmastodon/android/ui/displayitems/LinkCardStatusDisplayItem.java +++ b/mastodon/src/main/java/org/joinmastodon/android/ui/displayitems/LinkCardStatusDisplayItem.java @@ -87,7 +87,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 diff --git a/mastodon/src/main/res/layout/display_item_link_card.xml b/mastodon/src/main/res/layout/display_item_link_card.xml index fae9dade6..31ac96418 100644 --- a/mastodon/src/main/res/layout/display_item_link_card.xml +++ b/mastodon/src/main/res/layout/display_item_link_card.xml @@ -8,14 +8,14 @@