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 e3fc3b997a
commit 455515cae1
+3 -1
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)