From 2d0c1bee5f462b3eb971b75e5a8659839bbb3b85 Mon Sep 17 00:00:00 2001 From: Tommy Chow <54859075+tommyxchow@users.noreply.github.com> Date: Wed, 11 May 2022 23:10:02 -0400 Subject: [PATCH] Fix 7TV zero-width randomly not working (#112) --- lib/models/emotes.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/models/emotes.dart b/lib/models/emotes.dart index 7ad09081..90463d37 100644 --- a/lib/models/emotes.dart +++ b/lib/models/emotes.dart @@ -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, );