Fix 7TV zero-width randomly not working (#112)

This commit is contained in:
Tommy Chow 2022-05-11 23:10:02 -04:00 • committed by GitHub
parent 7482417b69
commit 2d0c1bee5f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -301,7 +301,7 @@ class Emote {
name: emote.name,
width: emote.width.first,
height: emote.height.first,
zeroWidth: emote.visibilitySimple.isNotEmpty ? emote.visibilitySimple.first == 'ZERO_WIDTH' : false,
zeroWidth: emote.visibilitySimple.contains('ZERO_WIDTH'),
url: emote.urls[3][1],
type: type,
);