Keep the composer image selector open after choosing an image
This commit is contained in:
@@ -105,8 +105,10 @@ export const ComposePost = observer(function ComposePost({
|
|||||||
}
|
}
|
||||||
const onSelectPhotos = (photos: string[]) => {
|
const onSelectPhotos = (photos: string[]) => {
|
||||||
setSelectedPhotos(photos)
|
setSelectedPhotos(photos)
|
||||||
|
if (photos.length >= 4) {
|
||||||
setIsSelectingPhotos(false)
|
setIsSelectingPhotos(false)
|
||||||
}
|
}
|
||||||
|
}
|
||||||
const onChangeText = (newText: string) => {
|
const onChangeText = (newText: string) => {
|
||||||
setText(newText)
|
setText(newText)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user