aboutsummaryrefslogtreecommitdiff
path: root/src/components/camera/GalleryIcon.tsx
diff options
context:
space:
mode:
authorIvan Chen <ivan@tagg.id>2021-07-23 18:52:28 -0400
committerGitHub <noreply@github.com>2021-07-23 18:52:28 -0400
commite39fcbd9e35f6a5e36afe248e24bea0dd3859202 (patch)
tree91509301e137497056886b053022c16ea81c4b0d /src/components/camera/GalleryIcon.tsx
parentb06b93e77ca7ec1b1107c0a58dbc2dd370208ccf (diff)
parentd5eabf15913597fc61127d7b501d271cdeac683c (diff)
Merge pull request #521 from IvanIFChen/tma962-moment-upload-progress-bar
[TMA-962] Moment Upload Progress Bar
Diffstat (limited to 'src/components/camera/GalleryIcon.tsx')
-rw-r--r--src/components/camera/GalleryIcon.tsx4
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