fix tests
This commit is contained in:
@@ -216,8 +216,9 @@ class _MessageWidgetState extends State<MessageWidget> {
|
|||||||
? widget.messageTheme.avatarTheme.constraints.maxWidth + 16.0
|
? widget.messageTheme.avatarTheme.constraints.maxWidth + 16.0
|
||||||
: 6.0;
|
: 6.0;
|
||||||
|
|
||||||
bool isGiphy =
|
final isGiphy =
|
||||||
widget.message.attachments.any((element) => element.type == 'giphy');
|
widget.message.attachments?.any((element) => element.type == 'giphy') ==
|
||||||
|
true;
|
||||||
|
|
||||||
return Portal(
|
return Portal(
|
||||||
child: Padding(
|
child: Padding(
|
||||||
|
|||||||
Reference in New Issue
Block a user