aboutsummaryrefslogtreecommitdiff
path: root/src/routes/main/MainStackScreen.tsx
diff options
context:
space:
mode:
authorIvan Chen <ivan@tagg.id>2021-03-29 18:17:46 -0400
committerIvan Chen <ivan@tagg.id>2021-03-29 18:17:46 -0400
commitd5669f3d08bee68b37f51727e499e84610685422 (patch)
tree8de9664c49e63833504aafd69ca8f965249d412d /src/routes/main/MainStackScreen.tsx
parentd1e5d18c36af46b450ec7d019550c05b1a78f2db (diff)
parentb0e4fe55be8983079f499b923e953855afeb2c64 (diff)
Merge branch 'master' into tma739-bugfix-profile-onboarding-tutorial
# Conflicts: # src/components/profile/Content.tsx
Diffstat (limited to 'src/routes/main/MainStackScreen.tsx')
-rw-r--r--src/routes/main/MainStackScreen.tsx24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/routes/main/MainStackScreen.tsx b/src/routes/main/MainStackScreen.tsx
index 8cefd3cc..d855f0df 100644
--- a/src/routes/main/MainStackScreen.tsx
+++ b/src/routes/main/MainStackScreen.tsx
@@ -6,6 +6,7 @@ import {StyleSheet, Text} from 'react-native';
import {normalize} from 'react-native-elements';
import BackIcon from '../../assets/icons/back-arrow.svg';
import {
+ AccountType,
AnimatedTutorial,
BadgeSelection,
CaptionScreen,
@@ -20,12 +21,14 @@ import {
MomentUploadPromptScreen,
NotificationsScreen,
ProfileScreen,
+ PrivacyScreen,
RequestContactsAccess,
SearchScreen,
SocialMediaTaggs,
SuggestedPeopleScreen,
SuggestedPeopleUploadPictureScreen,
SuggestedPeopleWelcomeScreen,
+ SettingsScreen,
} from '../../screens';
import MutualBadgeHolders from '../../screens/suggestedPeople/MutualBadgeHolders';
import {ScreenType} from '../../types';
@@ -151,6 +154,27 @@ const MainStackScreen: React.FC<MainStackProps> = ({route}) => {
}}
/>
<MainStack.Screen
+ name="SettingsScreen"
+ component={SettingsScreen}
+ options={{
+ ...headerBarOptions('white', 'Settings and Privacy'),
+ }}
+ />
+ <MainStack.Screen
+ name="PrivacyScreen"
+ component={PrivacyScreen}
+ options={{
+ ...headerBarOptions('white', 'Privacy'),
+ }}
+ />
+ <MainStack.Screen
+ name="AccountTypeScreen"
+ component={AccountType}
+ options={{
+ ...headerBarOptions('white', 'Account Type'),
+ }}
+ />
+ <MainStack.Screen
name="AnimatedTutorial"
component={AnimatedTutorial}
options={{