Merge pull request #1727 from GetStream/fix/allowed-attachment-picker-types

fix(ui): allowedAttachmentPickerTypes not working on mobile devices.
This commit is contained in:
Sahil Kumar
2023-09-07 17:51:21 +05:30
committed by GitHub
2 changed files with 6 additions and 1 deletions
@@ -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.
@@ -799,7 +799,7 @@ Widget mobileAttachmentPickerBuilder({
);
},
),
}..where((option) => option.supportedTypes.every(allowedTypes.contains)),
}.where((option) => option.supportedTypes.every(allowedTypes.contains)),
},
);
}