From 39a2eeea32407f72074271d80dccfc6c06bc36c0 Mon Sep 17 00:00:00 2001 From: Deven Joshi Date: Thu, 10 Dec 2020 13:40:01 +0530 Subject: [PATCH] fix: File fix --- lib/src/message_input.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/message_input.dart b/lib/src/message_input.dart index b19211ba..e21ab4b1 100644 --- a/lib/src/message_input.dart +++ b/lib/src/message_input.dart @@ -1697,7 +1697,7 @@ class MessageInputState extends State { localUri: file.path != null ? Uri.parse(file.path) : null, type: attachmentType, extraData: extraDataMap.isNotEmpty ? extraDataMap : null, - title: mimeType.type == 'file' ? file.name : null, + title: file.name, ), );