Fix 7TV emotes not using custom names (#291)

* Fix 7TV emotes not using custom set names

* Show real name in emote details
This commit is contained in:
Tommy Chow 2023-11-01 17:55:49 -04:00 • committed by GitHub
parent 62f66067fb
commit bc67aad670
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 40 additions and 11 deletions

View file

@ -648,7 +648,9 @@ class IRCMessage {
width: 56,
),
url: emote.url,
title: emote.name,
title: emote.realName != null
? '${emote.name} (${emote.realName})'
: emote.name,
subtitle: Text(emote.type.toString()),
launchExternal: launchExternal,
);