From 8b3bb9164453498b78e497e4e8f3a5252b4159ea Mon Sep 17 00:00:00 2001 From: Ivan Chen Date: Thu, 8 Jul 2021 17:42:17 -0400 Subject: Hook up navigation to custom category creation --- src/routes/main/MainStackNavigator.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/routes') diff --git a/src/routes/main/MainStackNavigator.tsx b/src/routes/main/MainStackNavigator.tsx index e840eb38..05f5138f 100644 --- a/src/routes/main/MainStackNavigator.tsx +++ b/src/routes/main/MainStackNavigator.tsx @@ -49,7 +49,9 @@ export type MainStackParams = { selectedTags?: MomentTagType[]; moment?: MomentType; }; - ChoosingCategoryScreen: {}; + ChoosingCategoryScreen: { + newCustomCategory: string; + }; TagFriendsScreen: { media: { uri: string; @@ -88,6 +90,7 @@ export type MainStackParams = { }; CreateCustomCategory: { existingCategories: string[]; + fromScreen: 'ChoosingCategoryScreen' | 'CategorySelection'; }; Notifications: { screenType: ScreenType; -- cgit v1.2.3-70-g09d2