Skip to content

Commit

Permalink
fix: animated avatars (#950)
Browse files Browse the repository at this point in the history
  • Loading branch information
AnatoleAM authored Dec 1, 2023
1 parent 19a67da commit a44aa6e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG-nightly.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

**The changes listed here are not assigned to an official release**.

- No unreleased changes yet
- Reinstated animated avatars

### 3.0.16.1000

Expand Down
2 changes: 1 addition & 1 deletion src/site/twitch.tv/modules/avatars/AvatarsModule.vue
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ async function findAvatarClass() {
const com = getVNodeFromDOM(ael);
if (!com || !com.return) return;
if ((com.return.type as { displayName?: string }).displayName !== "ScAvatar") return;
if ((com.return?.return?.type as { displayName?: string }).displayName !== "Avatar") return;
avatarClass.value = com.return.type as unknown as typeof avatarClass.value;
}
Expand Down

0 comments on commit a44aa6e

Please sign in to comment.