diff --git a/lib/src/message_widget.dart b/lib/src/message_widget.dart index 5cd0c441..597a60c6 100644 --- a/lib/src/message_widget.dart +++ b/lib/src/message_widget.dart @@ -400,30 +400,30 @@ class _MessageWidgetState extends State { ), color: _getBackgroundColor(), child: InkWell( - onLongPress: () => - onLongPress(context), - child: Padding( - padding: EdgeInsets.all( - hasFiles ? 2.0 : 0.0), - child: Column( - crossAxisAlignment: - CrossAxisAlignment - .start, - mainAxisSize: - MainAxisSize.min, - children: [ - if (_hasQuotedMessage) - _buildQuotedMessage( - isMyMessage), - ..._parseAttachments( - context), - if (widget.message.text - .trim() - .isNotEmpty && - !isGiphy) - _buildTextBubble( + onLongPress: () => + onLongPress(context), + child: Padding( + padding: EdgeInsets.all( + hasFiles ? 2.0 : 0.0), + child: Column( + crossAxisAlignment: + CrossAxisAlignment + .start, + mainAxisSize: + MainAxisSize.min, + children: [ + if (_hasQuotedMessage) + _buildQuotedMessage( + isMyMessage), + ..._parseAttachments( context), - ], + if (widget.message.text + .trim() + .isNotEmpty && + !isGiphy) + _buildTextBubble( + context), + ], ), ), ),