aboutsummaryrefslogtreecommitdiff
path: root/src/routes/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/routes/main')
-rw-r--r--src/routes/main/MainStackNavigator.tsx4
-rw-r--r--src/routes/main/MainStackScreen.tsx8
2 files changed, 12 insertions, 0 deletions
diff --git a/src/routes/main/MainStackNavigator.tsx b/src/routes/main/MainStackNavigator.tsx
index 901dd993..e271837f 100644
--- a/src/routes/main/MainStackNavigator.tsx
+++ b/src/routes/main/MainStackNavigator.tsx
@@ -7,6 +7,7 @@ import {
CategorySelectionScreenType,
MomentType,
ScreenType,
+ SearchCategoryType,
UserType,
} from '../../types';
@@ -20,6 +21,9 @@ export type MainStackParams = {
RequestContactsAccess: {
screenType: ScreenType;
};
+ DiscoverUsers: {
+ searchCategory: SearchCategoryType;
+ };
Profile: {
userXId: string | undefined;
screenType: ScreenType;
diff --git a/src/routes/main/MainStackScreen.tsx b/src/routes/main/MainStackScreen.tsx
index 91ed2f70..730ba1c8 100644
--- a/src/routes/main/MainStackScreen.tsx
+++ b/src/routes/main/MainStackScreen.tsx
@@ -11,6 +11,7 @@ import {
CaptionScreen,
CategorySelection,
CreateCustomCategory,
+ DiscoverUsers,
EditProfile,
FriendsListScreen,
IndividualMoment,
@@ -140,6 +141,13 @@ const MainStackScreen: React.FC<MainStackProps> = ({route}) => {
/>
)}
<MainStack.Screen
+ name="DiscoverUsers"
+ component={DiscoverUsers}
+ options={{
+ ...headerBarOptions('white', 'Discover Users'),
+ }}
+ />
+ <MainStack.Screen
name="AnimatedTutorial"
component={AnimatedTutorial}
options={{