Keep the composer image selector open after choosing an image

This commit is contained in:
Paul Frazee 2023-01-18 14:47:59 -06:00
parent d0364c09ad
commit 1898d5dbaa

View file

@ -105,7 +105,9 @@ export const ComposePost = observer(function ComposePost({
}
const onSelectPhotos = (photos: string[]) => {
setSelectedPhotos(photos)
setIsSelectingPhotos(false)
if (photos.length >= 4) {
setIsSelectingPhotos(false)
}
}
const onChangeText = (newText: string) => {
setText(newText)