diff options
author | Ivan Chen <ivan@tagg.id> | 2021-07-23 18:53:15 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-23 18:53:15 -0400 |
commit | 88b8d6c732d871ddf48bb6a4a1bb8cfb27f0bc1d (patch) | |
tree | 0e36f5b9258a2104d35bb929546575df4b0bfd22 /src/components/camera/GalleryIcon.tsx | |
parent | 14c151ba80672938fecd4768b30f5812bd0a996e (diff) | |
parent | e39fcbd9e35f6a5e36afe248e24bea0dd3859202 (diff) |
Merge branch 'master' into tma985-moment-view-count
Diffstat (limited to 'src/components/camera/GalleryIcon.tsx')
-rw-r--r-- | src/components/camera/GalleryIcon.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/camera/GalleryIcon.tsx b/src/components/camera/GalleryIcon.tsx index ca2d2559..44297d6d 100644 --- a/src/components/camera/GalleryIcon.tsx +++ b/src/components/camera/GalleryIcon.tsx @@ -1,6 +1,6 @@ import React from 'react'; import {Image, Text, TouchableOpacity, View} from 'react-native'; -import {navigateToImagePicker} from '../../utils/camera'; +import {navigateToMediaPicker} from '../../utils/camera'; import {ImageOrVideo} from 'react-native-image-crop-picker'; import {styles} from './styles'; @@ -19,7 +19,7 @@ export const GalleryIcon: React.FC<GalleryIconProps> = ({ }) => { return ( <TouchableOpacity - onPress={() => navigateToImagePicker(callback)} + onPress={() => navigateToMediaPicker(callback)} style={styles.saveButton}> {mostRecentPhotoUri !== '' ? ( <Image |