From 530a8bb36f2edbe1871d6f3dcf438f27b75795a4 Mon Sep 17 00:00:00 2001 From: Shravya Ramesh Date: Thu, 17 Jun 2021 23:10:32 -0700 Subject: Navigate to new pan zoom cropper screen --- src/components/moments/Moment.tsx | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/components/moments/Moment.tsx b/src/components/moments/Moment.tsx index 1c850b29..557f9d4a 100644 --- a/src/components/moments/Moment.tsx +++ b/src/components/moments/Moment.tsx @@ -56,10 +56,13 @@ const Moment: React.FC = ({ }) .then((picture) => { if ('path' in picture) { - navigation.navigate('ImageCropper', { - screenType, - title: title, - image: picture, + // navigation.navigate('ImageCropper', { + // screenType, + // title: title, + // image: picture, + // }); + navigation.navigate('ZoomInCropper', { + imageURI: picture.path, }); } }) -- cgit v1.2.3-70-g09d2