fix(ui): fix attachment picker not able to find streamChatTheme.
Signed-off-by: xsahil03x <[email protected]>
This commit is contained in:
@@ -782,7 +782,6 @@ class StreamMessageInputState extends State<StreamMessageInput>
|
|||||||
Future<void> _onAttachmentButtonPressed() async {
|
Future<void> _onAttachmentButtonPressed() async {
|
||||||
final attachments = await showStreamAttachmentPickerModalBottomSheet(
|
final attachments = await showStreamAttachmentPickerModalBottomSheet(
|
||||||
context: context,
|
context: context,
|
||||||
useRootNavigator: true,
|
|
||||||
allowedTypes: widget.allowedAttachmentPickerTypes,
|
allowedTypes: widget.allowedAttachmentPickerTypes,
|
||||||
initialAttachments: _effectiveController.attachments,
|
initialAttachments: _effectiveController.attachments,
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user