Merge pull request #786 from GetStream/hotfix/filePicker

fix(ui): do not use `withData: true` property
This commit is contained in:
Salvatore Giordano
2021-11-25 10:03:42 +01:00
committed by GitHub
2 changed files with 2 additions and 2 deletions
+2 -1
View File
@@ -12,8 +12,9 @@
- Fixed `MessageWidget` null errors associated with `channel.memberCount`.
- Fixed adding attachments on web.
- [[#767]](https://github.com/GetStream/stream-chat-flutter/issues/767): Fix `MessageInput` focus behaviour when sending messages.
- Fixed user presence indicator not updating correctly.
- Do not use `withData: true` in `FilePicker` calls.
- Fixed read indicator not updating correctly in specific situations.
- Fixed user presence indicator not updating correctly
## 3.2.0
@@ -1645,7 +1645,6 @@ class MessageInputState extends State<MessageInput> {
}
final res = await FilePicker.platform.pickFiles(
type: type,
withData: true,
);
if (res?.files.isNotEmpty == true) {
file = res!.files.single.toAttachmentFile;