We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d6cfa69 commit d6fafe9Copy full SHA for d6fafe9
package/src/components/Channel/Channel.tsx
@@ -1972,7 +1972,9 @@ const ChannelWithContext = (props: PropsWithChildren<ChannelPropsWithContext>) =
1972
<MessageComposerProvider value={messageComposerContext}>
1973
<MessageInputProvider value={inputMessageInputContext}>
1974
<View style={{ height: '100%' }}>{children}</View>
1975
- <AttachmentPicker ref={bottomSheetRef} {...attachmentPickerProps} />
+ {isImageMediaLibraryAvailable() && (
1976
+ <AttachmentPicker ref={bottomSheetRef} {...attachmentPickerProps} />
1977
+ )}
1978
</MessageInputProvider>
1979
</MessageComposerProvider>
1980
</AttachmentPickerProvider>
0 commit comments