aboutsummaryrefslogtreecommitdiff
path: root/src/components/camera/GalleryIcon.tsx
diff options
context:
space:
mode:
authorIvan Chen <ivan@tagg.id>2021-07-02 19:26:28 -0400
committerGitHub <noreply@github.com>2021-07-02 19:26:28 -0400
commitf88193340ef5110080732d37c6a6ab69013f7b36 (patch)
tree3de0e277727ef27f23386043c26f1d3f46ba064c /src/components/camera/GalleryIcon.tsx
parentcef9d8e9908936a10a9aa0069e364ebf5970da4c (diff)
parentc772d0491529b795cc2cb3d87f6dd2ecd1775116 (diff)
Merge pull request #489 from IvanIFChen/tma953-camera-screen-video
[TMA-953] Camera Screen Video
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 8d396550..ca2d2559 100644
--- a/src/components/camera/GalleryIcon.tsx
+++ b/src/components/camera/GalleryIcon.tsx
@@ -1,12 +1,12 @@
import React from 'react';
import {Image, Text, TouchableOpacity, View} from 'react-native';
import {navigateToImagePicker} from '../../utils/camera';
-import {Image as ImageType} from 'react-native-image-crop-picker';
+import {ImageOrVideo} from 'react-native-image-crop-picker';
import {styles} from './styles';
interface GalleryIconProps {
mostRecentPhotoUri: string;
- callback: (pic: ImageType) => void;
+ callback: (media: ImageOrVideo) => void;
}
/*