about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/view/com/composer/PhotoCarouselPicker.tsx5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/view/com/composer/PhotoCarouselPicker.tsx b/src/view/com/composer/PhotoCarouselPicker.tsx
index 9671dd29f..598ff188f 100644
--- a/src/view/com/composer/PhotoCarouselPicker.tsx
+++ b/src/view/com/composer/PhotoCarouselPicker.tsx
@@ -22,7 +22,10 @@ export const PhotoCarouselPicker = observer(function PhotoCarouselPicker({
       <TouchableOpacity
         style={[styles.galleryButton, styles.photo]}
         onPress={() => {
-          openCamera({multiple: true, maxFiles: 4}).then()
+          openCamera({multiple: true, maxFiles: 4}).then(item => {
+            console.log(item)
+            setSelectedPhotos([item.path, ...selectedPhotos])
+          })
         }}>
         <FontAwesomeIcon
           icon="camera"