diff --git a/packages/stream_chat_flutter/lib/src/theme/message_theme.dart b/packages/stream_chat_flutter/lib/src/theme/message_theme.dart index 7f34800c..c022d6a6 100644 --- a/packages/stream_chat_flutter/lib/src/theme/message_theme.dart +++ b/packages/stream_chat_flutter/lib/src/theme/message_theme.dart @@ -95,7 +95,7 @@ class StreamMessageThemeData with Diagnosticable { reactionsMaskColor: reactionsMaskColor ?? this.reactionsMaskColor, linkBackgroundColor: linkBackgroundColor ?? this.linkBackgroundColor, urlAttachmentTitleMaxLine: - urlLinkTitleMaxLine ?? this.urlAttachmentTitleMaxLine, + urlLinkTitleMaxLine ?? urlAttachmentTitleMaxLine, ); }