fix tests

This commit is contained in:
Salvatore Giordano
2020-12-03 12:36:43 +01:00
parent 71b494c977
commit f052ac96ac
+2 -1
View File
@@ -227,7 +227,8 @@ class _MessageWidgetState extends State<MessageWidget> {
widget.message.text.characters.every((c) => Emoji.byChar(c) != null);
final hasFiles =
widget.message.attachments.any((element) => element.type == 'file');
widget.message.attachments?.any((element) => element.type == 'file') ==
true;
return Portal(
child: Padding(