From 7382cdb35f568b09d72c47ada81091ab2b71154d Mon Sep 17 00:00:00 2001 From: Sahil Kumar Date: Mon, 15 May 2023 15:29:55 +0530 Subject: [PATCH] fix(ui): fix `MessageInputTheme.linkHighlightColor` returning null for default theme. Signed-off-by: xsahil03x --- packages/stream_chat_flutter/CHANGELOG.md | 7 +++++++ .../lib/src/theme/message_input_theme.dart | 1 + 2 files changed, 8 insertions(+) diff --git a/packages/stream_chat_flutter/CHANGELOG.md b/packages/stream_chat_flutter/CHANGELOG.md index f32ef2d2..31a56f95 100644 --- a/packages/stream_chat_flutter/CHANGELOG.md +++ b/packages/stream_chat_flutter/CHANGELOG.md @@ -1,3 +1,10 @@ +## Upcoming + +🐞 Fixed + +- [[#1546]](https://github.com/GetStream/stream-chat-flutter/issues/1546) + Fixed `StreamMessageInputTheme.linkHighlightColor` returning null for default theme. + ## 6.1.0 🐞 Fixed diff --git a/packages/stream_chat_flutter/lib/src/theme/message_input_theme.dart b/packages/stream_chat_flutter/lib/src/theme/message_input_theme.dart index ae60fbc6..6e43fef8 100644 --- a/packages/stream_chat_flutter/lib/src/theme/message_input_theme.dart +++ b/packages/stream_chat_flutter/lib/src/theme/message_input_theme.dart @@ -153,6 +153,7 @@ class StreamMessageInputThemeData with Diagnosticable { sendButtonColor: sendButtonColor ?? this.sendButtonColor, actionButtonIdleColor: actionButtonIdleColor ?? this.actionButtonIdleColor, + linkHighlightColor: linkHighlightColor ?? this.linkHighlightColor, expandButtonColor: expandButtonColor ?? this.expandButtonColor, inputTextStyle: inputTextStyle ?? this.inputTextStyle, sendButtonIdleColor: sendButtonIdleColor ?? this.sendButtonIdleColor,