Merge pull request #1727 from GetStream/fix/allowed-attachment-picker-types
fix(ui): allowedAttachmentPickerTypes not working on mobile devices.
This commit is contained in:
@@ -1,5 +1,10 @@
|
|||||||
## Upcoming
|
## Upcoming
|
||||||
|
|
||||||
|
🐞 Fixed
|
||||||
|
|
||||||
|
- [[#1721]](https://github.com/GetStream/stream-chat-flutter/issues/1721)
|
||||||
|
Fixed `StreamMessageInput.allowedAttachmentPickerTypes` not working on mobile devices.
|
||||||
|
|
||||||
✅ Added
|
✅ Added
|
||||||
|
|
||||||
- Added support for overriding the `MessageWidget.onReactionsHover` callback.
|
- Added support for overriding the `MessageWidget.onReactionsHover` callback.
|
||||||
|
|||||||
+1
-1
@@ -799,7 +799,7 @@ Widget mobileAttachmentPickerBuilder({
|
|||||||
);
|
);
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
}..where((option) => option.supportedTypes.every(allowedTypes.contains)),
|
}.where((option) => option.supportedTypes.every(allowedTypes.contains)),
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user