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,
),