version bump

This commit is contained in:
Salvatore Giordano
2020-09-22 16:36:40 +02:00
parent edf624700c
commit 1abb108a15
3 changed files with 12 additions and 4 deletions
+4 -1
View File
@@ -738,7 +738,10 @@ class MessageInputState extends State<MessageInput> {
} else if (fileType == DefaultAttachmentTypes.file) {
type = FileType.any;
}
file = await FilePicker.getFile(type: type);
final res = await FilePicker.platform.pickFiles(type: type);
if (res?.files?.isNotEmpty == true) {
file = File(res.files.first.path);
}
}
setState(() {