From affe37e684f58562b7337332238813b77c9e707d Mon Sep 17 00:00:00 2001 From: Salvatore Giordano Date: Thu, 14 Apr 2022 10:10:21 +0200 Subject: [PATCH] fix(ui): align new widgets to develop fixes --- packages/stream_chat/CHANGELOG.md | 1 - packages/stream_chat_flutter/CHANGELOG.md | 2 +- .../lib/src/v4/message_input/stream_message_input.dart | 2 ++ 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/stream_chat/CHANGELOG.md b/packages/stream_chat/CHANGELOG.md index 30fcd45ab..a390a823e 100644 --- a/packages/stream_chat/CHANGELOG.md +++ b/packages/stream_chat/CHANGELOG.md @@ -10,7 +10,6 @@ - [[#1054]](https://github.com/GetStream/stream-chat-flutter/issues/1054) Fix `Unsupported operation: Cannot remove from an unmodifiable list`. - [[#1033]](https://github.com/GetStream/stream-chat-flutter/issues/1033) Hard delete from dashboard does not delete message from client. - Send only `user_id` while reconnecting. -- [[#1081]](https://github.com/GetStream/stream-chat-flutter/issues/1081) Fixed a bug with user reconnection. ✅ Added diff --git a/packages/stream_chat_flutter/CHANGELOG.md b/packages/stream_chat_flutter/CHANGELOG.md index 183efd7c5..ef980e29c 100644 --- a/packages/stream_chat_flutter/CHANGELOG.md +++ b/packages/stream_chat_flutter/CHANGELOG.md @@ -3,7 +3,7 @@ ✅ Added - Added support to pass `autoCorrect` to `StreamMessageInput` for the text input field -- Added support to control the visibility of the default emoji suggestions overlay +- Added support to control the visibility of the default emoji suggestions overlay in `StreamMessageInput` - Added support to build custom widget for scrollToBottom in `StreamMessageListView` 🐞 Fixed diff --git a/packages/stream_chat_flutter/lib/src/v4/message_input/stream_message_input.dart b/packages/stream_chat_flutter/lib/src/v4/message_input/stream_message_input.dart index a78f9b372..63872fc28 100644 --- a/packages/stream_chat_flutter/lib/src/v4/message_input/stream_message_input.dart +++ b/packages/stream_chat_flutter/lib/src/v4/message_input/stream_message_input.dart @@ -593,6 +593,7 @@ class StreamMessageInputState extends State elevation: widget.elevation ?? _streamChatTheme.messageInputTheme.elevation ?? 8, + color: _messageInputTheme.inputBackgroundColor, child: child, ); } @@ -789,6 +790,7 @@ class StreamMessageInputState extends State gradient: _focusNode.hasFocus ? _messageInputTheme.activeBorderGradient : _messageInputTheme.idleBorderGradient, + color: _messageInputTheme.inputBackgroundColor, ), child: Padding( padding: const EdgeInsets.all(1.5),