Skip to content

fix: Show animated avatars in preview card bylines#2019

Merged
nikclayton merged 2 commits intopachli:mainfrom
nikclayton:anim-preview
Dec 8, 2025
Merged

fix: Show animated avatars in preview card bylines#2019
nikclayton merged 2 commits intopachli:mainfrom
nikclayton:anim-preview

Conversation

@nikclayton
Copy link
Copy Markdown
Contributor

If the avatar in a preview card byline was animated the animation wasn't being started, so the avatar didn't appear.

Fix that. Write two new CustomTarget implementations that can load bitmaps and drawables into a TextView drawable, and select between them based on whether animation is enabled and the avatar is being loaded as a bitmap or a drawable.

If the avatar in a preview card byline was animated the animation wasn't
being started, so the avatar didn't appear.

Fix that. Write two new `CustomTarget` implementations that can load
bitmaps and drawables into a `TextView` drawable, and select between
them based on whether animation is enabled and the avatar is being
loaded as a bitmap or a drawable.
@nikclayton nikclayton merged commit 4317c9b into pachli:main Dec 8, 2025
27 checks passed
@nikclayton nikclayton deleted the anim-preview branch December 8, 2025 13:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants