Keep the composer image selector open after choosing an image
parent
d0364c09ad
commit
1898d5dbaa
|
@ -105,7 +105,9 @@ export const ComposePost = observer(function ComposePost({
|
||||||
}
|
}
|
||||||
const onSelectPhotos = (photos: string[]) => {
|
const onSelectPhotos = (photos: string[]) => {
|
||||||
setSelectedPhotos(photos)
|
setSelectedPhotos(photos)
|
||||||
setIsSelectingPhotos(false)
|
if (photos.length >= 4) {
|
||||||
|
setIsSelectingPhotos(false)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
const onChangeText = (newText: string) => {
|
const onChangeText = (newText: string) => {
|
||||||
setText(newText)
|
setText(newText)
|
||||||
|
|
Loading…
Reference in New Issue