diff --git a/CHANGELOG.md b/CHANGELOG.md index fe2e26db..a84842c6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.2.20+1 + +- Fixed bug that caused video attachment to show the same preview + ## 0.2.20 - Implement shadowban diff --git a/lib/src/message_widget.dart b/lib/src/message_widget.dart index d634b0b8..eb13e2ad 100644 --- a/lib/src/message_widget.dart +++ b/lib/src/message_widget.dart @@ -547,6 +547,7 @@ class _MessageWidgetState extends State { } return Padding( + key: Key(attachment.hashCode.toString()), padding: EdgeInsets.only( bottom: 4, ), diff --git a/pubspec.yaml b/pubspec.yaml index 40053962..381830f5 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -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: 0.2.20 +version: 0.2.20+1 repository: https://github.com/GetStream/stream-chat-flutter issue_tracker: https://github.com/GetStream/stream-chat-flutter/issues @@ -23,7 +23,7 @@ dependencies: file_picker: ^2.0.12 image_picker: ^0.6.7+2 flutter_keyboard_visibility: ^4.0.1 - stream_chat: ^0.2.21 + stream_chat: ^0.2.21+1 mime: ^0.9.6+3 visibility_detector: ^0.1.5 http_parser: ^3.1.4