use key in attachments to fix cideo preview bug

This commit is contained in:
Salvatore Giordano
2020-12-24 12:45:28 +01:00
parent ba4cb46894
commit f891061eb9
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -547,6 +547,7 @@ class _MessageWidgetState extends State<MessageWidget> {
}
return Padding(
key: Key(attachment.hashCode.toString()),
padding: EdgeInsets.only(
bottom: 4,
),
+1 -1
View File
@@ -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