aboutsummaryrefslogtreecommitdiff
path: root/src/routes
diff options
context:
space:
mode:
authorIvan Chen <ivan@tagg.id>2021-07-08 17:42:17 -0400
committerIvan Chen <ivan@tagg.id>2021-07-09 15:56:47 -0400
commit8b3bb9164453498b78e497e4e8f3a5252b4159ea (patch)
tree443bdfe51e24a9b460eed4367720ff33277e3f2f /src/routes
parent2c2921af0fc075482aa1a7d2064d24c4999497ca (diff)
Hook up navigation to custom category creation
Diffstat (limited to 'src/routes')
-rw-r--r--src/routes/main/MainStackNavigator.tsx5
1 files changed, 4 insertions, 1 deletions
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;