diff options
author | Shravya Ramesh <37447613+shravyaramesh@users.noreply.github.com> | 2021-07-23 16:01:16 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-23 16:01:16 -0700 |
commit | 93b0bdb6d5d3070ece012626f9d9d6634f0eb0d8 (patch) | |
tree | de1aab12445184023db6b7f1e5dce94e8416d233 /src/components/camera/GalleryIcon.tsx | |
parent | 6fcfb36b37dd51d3e9d5baf025b896cc6f6045ee (diff) | |
parent | 2f64db843b80229d08f8f0ae7e1d80b24ac38c12 (diff) |
Merge branch 'master' into tma936-pause-video
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 |