Skip to content

Commit 2fb3080

Browse files
committed
fix size scrollToBottom icon
1 parent 73ab3bf commit 2fb3080

1 file changed

Lines changed: 5 additions & 9 deletions

File tree

packages/stream_chat_flutter/lib/src/message_list_view/message_list_view.dart

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1235,15 +1235,11 @@ class _StreamMessageListViewState extends State<StreamMessageListView> {
12351235
onPressed: () async {
12361236
return scrollToBottomDefaultTapAction(unreadCount);
12371237
},
1238-
child: widget.reverse
1239-
? Icon(
1240-
context.streamIcons.arrowDown,
1241-
color: _streamTheme.colorTheme.textHighEmphasis,
1242-
)
1243-
: Icon(
1244-
context.streamIcons.arrowUp,
1245-
color: _streamTheme.colorTheme.textHighEmphasis,
1246-
),
1238+
child: Icon(
1239+
widget.reverse ? context.streamIcons.arrowDown : context.streamIcons.arrowUp,
1240+
color: _streamTheme.colorTheme.textHighEmphasis,
1241+
size: 20,
1242+
),
12471243
),
12481244
if (showUnreadCount && widget.showUnreadCountOnScrollToBottom)
12491245
Positioned(

0 commit comments

Comments
 (0)