From fac70c3b247bea34a4f6876fae2658d2e813c934 Mon Sep 17 00:00:00 2001 From: Salvatore Giordano Date: Sat, 29 Feb 2020 00:22:33 +0100 Subject: [PATCH] fix message widget --- lib/src/message_widget.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/src/message_widget.dart b/lib/src/message_widget.dart index 4cf1b205..b1481698 100644 --- a/lib/src/message_widget.dart +++ b/lib/src/message_widget.dart @@ -508,11 +508,11 @@ class _MessageWidgetState extends State } Row _buildReactionRow() { - List children = + final List children = widget.message.reactionCounts.keys.map((reactionType) { return Text( reactionToEmoji[reactionType] ?? '?', - ); + ) as Widget; }).toList(); children.add(Padding(