File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
packages/stream_chat_flutter
lib/src/message_list_view Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 88🐞 Fixed
99
1010- Fixed ` .replaceMentions ` not escaping special characters in the username.
11+ - Fixed unread indicator button using hardcoded white color instead of theme color
12+ ` colorTheme.barsBg ` . [[ #2366 ]] ( https://github.com/GetStream/stream-chat-flutter/issues/2366 )
1113- Fixed ` GradientAvatars ` for users with same-length IDs would have identical
1214 colors. [[ #2369 ]] ( https://github.com/GetStream/stream-chat-flutter/issues/2369 )
1315
Original file line number Diff line number Diff line change @@ -92,15 +92,15 @@ class UnreadIndicatorButton extends StatelessWidget {
9292 context.translations.unreadCountIndicatorLabel (
9393 unreadCount: unreadCount,
9494 ),
95- style: textTheme.body.copyWith (color: Colors .white ),
95+ style: textTheme.body.copyWith (color: colorTheme.barsBg ),
9696 ),
9797 const SizedBox (width: 12 ),
9898 IconButton (
9999 iconSize: 24 ,
100100 icon: const SvgIcon (StreamSvgIcons .close),
101101 padding: const EdgeInsets .all (4 ),
102102 style: IconButton .styleFrom (
103- foregroundColor: Colors .white ,
103+ foregroundColor: colorTheme.barsBg ,
104104 minimumSize: const Size .square (24 ),
105105 tapTargetSize: MaterialTapTargetSize .shrinkWrap,
106106 ),
You can’t perform that action at this time.
0 commit comments