Skip to content

Commit

Permalink
bugfix: strech DSMessageBubble only when using default size constraints
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcelo Amaro committed Sep 5, 2024
1 parent f389b8a commit 8f5ef5f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/src/widgets/chat/ds_message_bubble.widget.dart
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,9 @@ class DSMessageBubble extends StatelessWidget {
color: style.bubbleBackgroundColor(align),
child: Column(
mainAxisSize: MainAxisSize.min,
crossAxisAlignment: CrossAxisAlignment.stretch,
crossAxisAlignment: shouldUseDefaultSize
? CrossAxisAlignment.stretch
: CrossAxisAlignment.start,
children: [
if (replyContent != null)
DSReplyContainer(
Expand Down

0 comments on commit 8f5ef5f

Please sign in to comment.