use lock in compress service

This commit is contained in:
Salvatore Giordano
2020-11-26 11:23:33 +01:00
parent efd6bfdc8e
commit a636253e98
3 changed files with 14 additions and 9 deletions
+5
View File
@@ -877,6 +877,11 @@ class MessageInputState extends State<MessageInput> {
),
),
);
setState(() {
_attachments.remove(attachment);
});
return;
}
file = PlatformFile(
name: file.name,