Skip to content

Commit 347bede

Browse files
gnpricechrisbobbe
authored andcommitted
msglist [nfc]: Specify we have a MessageListScrollController
1 parent fd5cb10 commit 347bede

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/widgets/message_list.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ class MessageList extends StatefulWidget {
465465

466466
class _MessageListState extends State<MessageList> with PerAccountStoreAwareStateMixin<MessageList> {
467467
MessageListView? model;
468-
final ScrollController scrollController = MessageListScrollController();
468+
final MessageListScrollController scrollController = MessageListScrollController();
469469
final ValueNotifier<bool> _scrollToBottomVisible = ValueNotifier<bool>(false);
470470

471471
@override
@@ -693,7 +693,7 @@ class ScrollToBottomButton extends StatelessWidget {
693693
const ScrollToBottomButton({super.key, required this.scrollController, required this.visible});
694694

695695
final ValueNotifier<bool> visible;
696-
final ScrollController scrollController;
696+
final MessageListScrollController scrollController;
697697

698698
void _scrollToBottom() {
699699
final target = 0.0;

0 commit comments

Comments
 (0)