fix: scrollToBottom not respecting false value
This commit is contained in:
@@ -3,6 +3,7 @@
|
|||||||
🐞 Fixed
|
🐞 Fixed
|
||||||
|
|
||||||
- [[#888]](https://github.com/GetStream/stream-chat-flutter/issues/888) Fix `unban` command not working in `MessageInput`.
|
- [[#888]](https://github.com/GetStream/stream-chat-flutter/issues/888) Fix `unban` command not working in `MessageInput`.
|
||||||
|
- Fix `showScrollToBottom` in `MessageListView` not respecting false value.
|
||||||
|
|
||||||
## 3.4.0
|
## 3.4.0
|
||||||
- Updated `stream_chat_flutter_core` dependency to [`3.4.0`](https://pub.dev/packages/stream_chat_flutter_core/changelog).
|
- Updated `stream_chat_flutter_core` dependency to [`3.4.0`](https://pub.dev/packages/stream_chat_flutter_core/changelog).
|
||||||
|
|||||||
@@ -712,6 +712,7 @@ class _MessageListViewState extends State<MessageListView> {
|
|||||||
);
|
);
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
|
if (widget.showScrollToBottom)
|
||||||
BetterStreamBuilder<bool>(
|
BetterStreamBuilder<bool>(
|
||||||
stream: streamChannel!.channel.state!.isUpToDateStream,
|
stream: streamChannel!.channel.state!.isUpToDateStream,
|
||||||
initialData: streamChannel!.channel.state!.isUpToDate,
|
initialData: streamChannel!.channel.state!.isUpToDate,
|
||||||
|
|||||||
Reference in New Issue
Block a user