From 5664f30a218af4620be69c66f4aba93d5972f890 Mon Sep 17 00:00:00 2001 From: Ivan Chen Date: Wed, 13 Jan 2021 02:58:00 -0500 Subject: organized imports and specify gesture distance (#177) --- src/routes/main/MainStackScreen.tsx | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'src') diff --git a/src/routes/main/MainStackScreen.tsx b/src/routes/main/MainStackScreen.tsx index 6f7bd413..b4eaa213 100644 --- a/src/routes/main/MainStackScreen.tsx +++ b/src/routes/main/MainStackScreen.tsx @@ -1,26 +1,25 @@ +import {RouteProp} from '@react-navigation/native'; +import {StackNavigationOptions} from '@react-navigation/stack'; import React from 'react'; import { - IndividualMoment, CaptionScreen, - SocialMediaTaggs, - SearchScreen, - ProfileScreen, - MomentCommentsScreen, - EditProfile, CategorySelection, + CreateCustomCategory, + EditProfile, FriendsListScreen, - NotificationsScreen, + IndividualMoment, + MomentCommentsScreen, MomentUploadPromptScreen, - CreateCustomCategory, + NotificationsScreen, + ProfileScreen, + SearchScreen, + SocialMediaTaggs, } from '../../screens'; -import {MainStack, MainStackParams} from './MainStackNavigator'; -import {RouteProp} from '@react-navigation/native'; import {ScreenType} from '../../types'; -import {AvatarHeaderHeight} from '../../utils'; -import {StackNavigationOptions} from '@react-navigation/stack'; +import {AvatarHeaderHeight, SCREEN_WIDTH} from '../../utils'; +import {MainStack, MainStackParams} from './MainStackNavigator'; /** - * Trying to explain the purpose of each route on the stack (ACTUALLY A STACK) * Profile : To display the logged in user's profile when the userXId passed in to it is (undefined | null | empty string) else displays profile of the user being visited. * Search : To display the search screen. Search for a user on this screen, click on a result tile and navigate to the same. * When you click on the search icon after looking at a user's profile, the stack gets reset and you come back to the top of the stack (First screen : Search in this case) @@ -80,6 +79,7 @@ const MainStackScreen: React.FC = ({route}) => { -- cgit v1.2.3-70-g09d2