From d875da8dd05a60103dc6e74211c3ec0563d313e1 Mon Sep 17 00:00:00 2001 From: Andre Haueisen Date: Mon, 4 Mar 2024 05:07:05 -0300 Subject: [PATCH] fix(ui): quoted message padding (#1868) * fix: quoted message padding * fix: quoted message padding --- packages/stream_chat_flutter/CHANGELOG.md | 3 +++ .../lib/src/message_input/stream_message_input.dart | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/stream_chat_flutter/CHANGELOG.md b/packages/stream_chat_flutter/CHANGELOG.md index b7e665d29..e20f91daa 100644 --- a/packages/stream_chat_flutter/CHANGELOG.md +++ b/packages/stream_chat_flutter/CHANGELOG.md @@ -1,5 +1,8 @@ ## Unreleased +🐞 Fixed +- Fixed quoted message having 0 bottom padding. All sides now have 8 padding + ## 7.0.2 ✅ Added diff --git a/packages/stream_chat_flutter/lib/src/message_input/stream_message_input.dart b/packages/stream_chat_flutter/lib/src/message_input/stream_message_input.dart index cad599d37..f0625974a 100644 --- a/packages/stream_chat_flutter/lib/src/message_input/stream_message_input.dart +++ b/packages/stream_chat_flutter/lib/src/message_input/stream_message_input.dart @@ -1206,7 +1206,6 @@ class StreamMessageInputState extends State showBorder: !containsUrl, message: quotedMessage, messageTheme: _streamChatTheme.otherMessageTheme, - padding: const EdgeInsets.fromLTRB(8, 8, 8, 0), onQuotedMessageClear: widget.onQuotedMessageCleared, attachmentThumbnailBuilders: widget.quotedMessageAttachmentThumbnailBuilders,