Skip to content

Commit

Permalink
Merge pull request #1727 from GetStream/fix/allowed-attachment-picker…
Browse files Browse the repository at this point in the history
…-types

fix(ui): allowedAttachmentPickerTypes not working on mobile devices.
  • Loading branch information
xsahil03x authored Sep 7, 2023
2 parents 4c19fed + 0352249 commit dd4815b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions packages/stream_chat_flutter/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
## Upcoming

🐞 Fixed

- [[#1721]](https://github.com/GetStream/stream-chat-flutter/issues/1721)
Fixed `StreamMessageInput.allowedAttachmentPickerTypes` not working on mobile devices.

✅ Added

- Added support for overriding the `MessageWidget.onReactionsHover` callback.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -799,7 +799,7 @@ Widget mobileAttachmentPickerBuilder({
);
},
),
}..where((option) => option.supportedTypes.every(allowedTypes.contains)),
}.where((option) => option.supportedTypes.every(allowedTypes.contains)),
},
);
}
Expand Down

0 comments on commit dd4815b

Please sign in to comment.