aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorShravya Ramesh <shravs1208@gmail.com>2021-06-17 23:10:32 -0700
committerShravya Ramesh <shravs1208@gmail.com>2021-06-17 23:10:32 -0700
commit530a8bb36f2edbe1871d6f3dcf438f27b75795a4 (patch)
tree02c4de3e270de9af700bfade5b33823806d00ee6 /src
parent9afff14debaee28ef6a86d307cd3183cbcfebbd4 (diff)
Navigate to new pan zoom cropper screen
Diffstat (limited to 'src')
-rw-r--r--src/components/moments/Moment.tsx11
1 files changed, 7 insertions, 4 deletions
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<MomentProps> = ({
})
.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,
});
}
})