💄 Show nick instead of name in typing indicator
This commit is contained in:
parent
dfe117d04f
commit
152872db65
@ -36,10 +36,12 @@ class ChatTypingIndicator extends StatelessWidget {
|
||||
'messageTyping'
|
||||
.plural(controller.typingMembers.length, args: [
|
||||
controller.typingMembers
|
||||
.map((ele) => (ele.nick?.isNotEmpty ?? false)
|
||||
? ele.nick!
|
||||
: ud.getFromCache(ele.accountId)?.name ??
|
||||
'unknown')
|
||||
.map(
|
||||
(ele) => (ele.nick?.isNotEmpty ?? false)
|
||||
? ele.nick!
|
||||
: ud.getFromCache(ele.accountId)?.nick ??
|
||||
'unknown',
|
||||
)
|
||||
.join(', '),
|
||||
]),
|
||||
),
|
||||
|
Loading…
x
Reference in New Issue
Block a user