aboutsummaryrefslogtreecommitdiff
path: root/src/routes/main/MainStackScreen.tsx
diff options
context:
space:
mode:
authorIvan Chen <ivan@tagg.id>2021-07-09 18:50:15 -0400
committerGitHub <noreply@github.com>2021-07-09 18:50:15 -0400
commit1b2dbdefd7f0f188c3aae9f3fb862a690c123468 (patch)
treee9b88baa252155d3dcad90d6d7b68f195e81be2a /src/routes/main/MainStackScreen.tsx
parent70a9fbcd9aab15be060694fc751cda5f26a81e11 (diff)
parenta0f3288050ec1ea3b9b9fc1320fa54b7f3119bb2 (diff)
Merge pull request #491 from IvanIFChen/tma969-new-caption-screen
[TMA-969] New Caption Screen
Diffstat (limited to 'src/routes/main/MainStackScreen.tsx')
-rw-r--r--src/routes/main/MainStackScreen.tsx8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/routes/main/MainStackScreen.tsx b/src/routes/main/MainStackScreen.tsx
index 948f37b8..15300c0d 100644
--- a/src/routes/main/MainStackScreen.tsx
+++ b/src/routes/main/MainStackScreen.tsx
@@ -40,6 +40,7 @@ import {ScreenType} from '../../types';
import {AvatarHeaderHeight, ChatHeaderHeight, SCREEN_WIDTH} from '../../utils';
import {MainStack, MainStackParams} from './MainStackNavigator';
import {ZoomInCropper} from '../../components/comments/ZoomInCropper';
+import ChoosingCategoryScreen from '../../screens/profile/ChoosingCategoryScreen';
/**
* 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.
@@ -181,6 +182,13 @@ const MainStackScreen: React.FC<MainStackProps> = ({route}) => {
}}
/>
<MainStack.Screen
+ name="ChoosingCategoryScreen"
+ component={ChoosingCategoryScreen}
+ options={{
+ ...headerBarOptions('white', 'Categories'),
+ }}
+ />
+ <MainStack.Screen
name="SocialMediaTaggs"
component={SocialMediaTaggs}
initialParams={{screenType}}