From 36a689d4f9d705a8cc6e1867eafbb959455c15d2 Mon Sep 17 00:00:00 2001 From: Michael Date: Fri, 2 Jul 2021 14:56:11 -0400 Subject: Fixed weird issue with duplicated screens. --- src/routes/main/MainStackScreen.tsx | 7 ------- src/utils/camera.ts | 1 + 2 files changed, 1 insertion(+), 7 deletions(-) (limited to 'src') diff --git a/src/routes/main/MainStackScreen.tsx b/src/routes/main/MainStackScreen.tsx index 43760b60..65a695f5 100644 --- a/src/routes/main/MainStackScreen.tsx +++ b/src/routes/main/MainStackScreen.tsx @@ -344,13 +344,6 @@ const MainStackScreen: React.FC = ({route}) => { gestureEnabled: false, }} /> - ); }; diff --git a/src/utils/camera.ts b/src/utils/camera.ts index 3937129a..f3705552 100644 --- a/src/utils/camera.ts +++ b/src/utils/camera.ts @@ -6,6 +6,7 @@ import { TakePictureOptions, TakePictureResponse, } from 'react-native-camera'; +import {ProcessingManager} from 'react-native-video-processing'; import ImagePicker, {Image, Video} from 'react-native-image-crop-picker'; import {ERROR_UPLOAD} from '../constants/strings'; -- cgit v1.2.3-70-g09d2