[UI-Kit -> MessageReactionsModal] Fix username overflow

Signed-off-by: Sahil Kumar <[email protected]>
This commit is contained in:
Sahil Kumar
2021-02-02 16:20:22 +05:30
parent c5d770c783
commit 94882c73c5
@@ -257,7 +257,7 @@ class MessageReactionsModal extends StatelessWidget {
), ),
const SizedBox(height: 8), const SizedBox(height: 8),
Text( Text(
reaction.user.name, reaction.user.name.split(' ')[0],
style: StreamChatTheme.of(context).textTheme.footnoteBold, style: StreamChatTheme.of(context).textTheme.footnoteBold,
textAlign: TextAlign.center, textAlign: TextAlign.center,
), ),