diff --git a/mastodon/src/main/java/org/joinmastodon/android/ui/displayitems/NotificationHeaderStatusDisplayItem.java b/mastodon/src/main/java/org/joinmastodon/android/ui/displayitems/NotificationHeaderStatusDisplayItem.java index 8513163d06..df87dae506 100644 --- a/mastodon/src/main/java/org/joinmastodon/android/ui/displayitems/NotificationHeaderStatusDisplayItem.java +++ b/mastodon/src/main/java/org/joinmastodon/android/ui/displayitems/NotificationHeaderStatusDisplayItem.java @@ -6,6 +6,7 @@ import android.annotation.SuppressLint; import android.app.Activity; import android.content.res.ColorStateList; +import android.graphics.drawable.Animatable; import android.graphics.drawable.Drawable; import android.os.Bundle; import android.text.SpannableStringBuilder; @@ -146,6 +147,8 @@ public void setImage(int index, Drawable image){ item.emojiHelper.setImageDrawable(index-1, image); text.invalidate(); } + if(image instanceof Animatable) + ((Animatable) image).start(); } @Override