aboutsummaryrefslogtreecommitdiff
path: root/src/components/camera/GalleryIcon.tsx
diff options
context:
space:
mode:
authorMichael <michael.foiani@gmail.com>2021-07-06 14:20:26 -0400
committerMichael <michael.foiani@gmail.com>2021-07-06 14:20:26 -0400
commit843a9d39b99815bc232b4a105e5900f1d29535b5 (patch)
tree0270d77156d977d47a386a9b9017de33eaae5fa4 /src/components/camera/GalleryIcon.tsx
parentd41ecbf7e16757c0cfe8738c93b79f2ada5baa98 (diff)
parentf88193340ef5110080732d37c6a6ab69013f7b36 (diff)
Merge with new master
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;
}
/*