Merge pull request #786 from GetStream/hotfix/filePicker
fix(ui): do not use `withData: true` property
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user