From 59f125070b445dd7fdbab665d939f8a48e22d3fb Mon Sep 17 00:00:00 2001 From: Shravya Ramesh Date: Tue, 22 Jun 2021 12:01:06 -0700 Subject: Remove old image cropper --- src/routes/main/MainStackNavigator.tsx | 5 ----- src/routes/main/MainStackScreen.tsx | 8 -------- 2 files changed, 13 deletions(-) (limited to 'src') diff --git a/src/routes/main/MainStackNavigator.tsx b/src/routes/main/MainStackNavigator.tsx index 2c1ded98..b58e03cc 100644 --- a/src/routes/main/MainStackNavigator.tsx +++ b/src/routes/main/MainStackNavigator.tsx @@ -110,11 +110,6 @@ export type MainStackParams = { ChatList: undefined; Chat: undefined; NewChatModal: undefined; - ImageCropper: { - image: Image; - screenType: ScreenType; - title: string; - }; ZoomInCropper: { image: Image; screenType: ScreenType; diff --git a/src/routes/main/MainStackScreen.tsx b/src/routes/main/MainStackScreen.tsx index 85bf888d..9e3747f9 100644 --- a/src/routes/main/MainStackScreen.tsx +++ b/src/routes/main/MainStackScreen.tsx @@ -3,7 +3,6 @@ import {StackNavigationOptions} from '@react-navigation/stack'; import React from 'react'; import {StyleSheet, Text} from 'react-native'; import {normalize} from 'react-native-elements'; -import {ImageCropper} from '../../components/comments'; import BackIcon from '../../assets/icons/back-arrow.svg'; import { AccountType, @@ -328,13 +327,6 @@ const MainStackScreen: React.FC = ({route}) => { gestureEnabled: false, }} /> -