From ae5a8af93f1f5e79143836a3ec44f9487da9d0bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Adasiewicz?= Date: Thu, 9 Feb 2023 14:24:13 +0100 Subject: [PATCH] rename urlLinkTitleMaxLine to urlAttachmentTitleMaxLine --- .../stream_chat_flutter/lib/src/theme/message_theme.dart | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 c022d6a6..d95ed7bb 100644 --- a/packages/stream_chat_flutter/lib/src/theme/message_theme.dart +++ b/packages/stream_chat_flutter/lib/src/theme/message_theme.dart @@ -77,7 +77,7 @@ class StreamMessageThemeData with Diagnosticable { Color? reactionsBorderColor, Color? reactionsMaskColor, Color? linkBackgroundColor, - int? urlLinkTitleMaxLine, + int? urlAttachmentTitleMaxLine, }) { return StreamMessageThemeData( messageTextStyle: messageTextStyle ?? this.messageTextStyle, @@ -95,7 +95,7 @@ class StreamMessageThemeData with Diagnosticable { reactionsMaskColor: reactionsMaskColor ?? this.reactionsMaskColor, linkBackgroundColor: linkBackgroundColor ?? this.linkBackgroundColor, urlAttachmentTitleMaxLine: - urlLinkTitleMaxLine ?? urlAttachmentTitleMaxLine, + urlAttachmentTitleMaxLine ?? this.urlAttachmentTitleMaxLine, ); } @@ -155,7 +155,7 @@ class StreamMessageThemeData with Diagnosticable { reactionsBorderColor: other.reactionsBorderColor, reactionsMaskColor: other.reactionsMaskColor, linkBackgroundColor: other.linkBackgroundColor, - urlLinkTitleMaxLine: other.urlAttachmentTitleMaxLine, + urlAttachmentTitleMaxLine: other.urlAttachmentTitleMaxLine, ); }