From 1a7a05c62f372db2e70b432079b980443994b7f5 Mon Sep 17 00:00:00 2001 From: Sahil Kumar Date: Wed, 7 Jun 2023 19:20:34 +0530 Subject: [PATCH] Apply suggestions from code review --- .../lib/src/localization/translations.dart | 2 +- packages/stream_chat_flutter/lib/src/theme/message_theme.dart | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/stream_chat_flutter/lib/src/localization/translations.dart b/packages/stream_chat_flutter/lib/src/localization/translations.dart index 61c3441a..71254e73 100644 --- a/packages/stream_chat_flutter/lib/src/localization/translations.dart +++ b/packages/stream_chat_flutter/lib/src/localization/translations.dart @@ -83,7 +83,7 @@ abstract class Translations { /// in the [StreamMessageListView] String unreadMessagesSeparatorText( @Deprecated('unreadCount is not used anymore and will be removed ') - int unreadCount, + int unreadCount, ); /// The label for "connected" in [StreamConnectionStatusBuilder] 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 b997fd4a..6c35c5e3 100644 --- a/packages/stream_chat_flutter/lib/src/theme/message_theme.dart +++ b/packages/stream_chat_flutter/lib/src/theme/message_theme.dart @@ -23,7 +23,7 @@ class StreamMessageThemeData with Diagnosticable { this.avatarTheme, this.createdAtStyle, @Deprecated('Use urlAttachmentBackgroundColor instead') - Color? linkBackgroundColor, + Color? linkBackgroundColor, Color? urlAttachmentBackgroundColor, this.urlAttachmentHostStyle, this.urlAttachmentTitleStyle, @@ -102,7 +102,7 @@ class StreamMessageThemeData with Diagnosticable { Color? reactionsBorderColor, Color? reactionsMaskColor, @Deprecated('Use urlAttachmentBackgroundColor instead') - Color? linkBackgroundColor, + Color? linkBackgroundColor, Color? urlAttachmentBackgroundColor, TextStyle? urlAttachmentHostStyle, TextStyle? urlAttachmentTitleStyle,