Add support for 7TV and FFZ emote authors (#306)
This commit is contained in:
parent
8fab6bdbc9
commit
9e91208555
5 changed files with 54 additions and 11 deletions
|
|
@ -651,7 +651,16 @@ class IRCMessage {
|
|||
title: emote.realName != null
|
||||
? '${emote.name} (${emote.realName})'
|
||||
: emote.name,
|
||||
subtitle: Text(emote.type.toString()),
|
||||
subtitle: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
Text(emote.type.toString()),
|
||||
if (emote.ownerDisplayName != null && emote.ownerUsername != null)
|
||||
Text(
|
||||
'by ${getReadableName(emote.ownerDisplayName!, emote.ownerUsername!)}',
|
||||
),
|
||||
],
|
||||
),
|
||||
launchExternal: launchExternal,
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue