Merge pull request #340 from GetStream/hotfix/markRead
fix: unread count not updating while the chat is open
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
## 1.5.1
|
||||
|
||||
- Fixed unread count not updating while the chat is open
|
||||
|
||||
## 1.5.0
|
||||
|
||||
- Fixed swipeable visible on navigation back
|
||||
|
||||
@@ -749,7 +749,7 @@ class _MessageListViewState extends State<MessageListView> {
|
||||
Widget messageWidget;
|
||||
if (widget.messageBuilder != null) {
|
||||
messageWidget = Builder(
|
||||
key: ValueKey<String>('BOTTOM-MESSAGE'),
|
||||
key: ValueKey<String>('BOTTOM-MESSAGE-${message.id}'),
|
||||
builder: (_) => widget.messageBuilder(
|
||||
context,
|
||||
MessageDetails(
|
||||
@@ -766,7 +766,7 @@ class _MessageListViewState extends State<MessageListView> {
|
||||
}
|
||||
|
||||
return VisibilityDetector(
|
||||
key: ValueKey<String>('BOTTOM-MESSAGE'),
|
||||
key: ValueKey<String>('BOTTOM-MESSAGE-${message.id}'),
|
||||
onVisibilityChanged: (visibility) {
|
||||
final isVisible = visibility.visibleBounds != Rect.zero;
|
||||
if (isVisible) {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
name: stream_chat_flutter
|
||||
homepage: https://github.com/GetStream/stream-chat-flutter
|
||||
description: Stream Chat official Flutter SDK. Build your own chat experience using Dart and Flutter.
|
||||
version: 1.5.0
|
||||
version: 1.5.1
|
||||
repository: https://github.com/GetStream/stream-chat-flutter
|
||||
issue_tracker: https://github.com/GetStream/stream-chat-flutter/issues
|
||||
|
||||
|
||||
Reference in New Issue
Block a user