diff options
| author | Ivan Chen <ivan@tagg.id> | 2021-03-18 19:48:53 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-18 19:48:53 -0400 |
| commit | aa0ddb7c5a6612ff067f7dce1c6d5b083db44309 (patch) | |
| tree | 89326275ce5ff4e48bc29952c60856258cd8b0ab /src/routes | |
| parent | 07a15098625786451270e30e61e2d6e78c02d4db (diff) | |
| parent | 9a7e34bf992e0bfa3b9ce7d83643d97fad209e6e (diff) | |
Merge pull request #303 from shravyaramesh/add-friends-thru-contacts
[TMA-622] Add friends from contacts
Diffstat (limited to 'src/routes')
| -rw-r--r-- | src/routes/main/MainStackNavigator.tsx | 3 | ||||
| -rw-r--r-- | src/routes/main/MainStackScreen.tsx | 14 |
2 files changed, 17 insertions, 0 deletions
diff --git a/src/routes/main/MainStackNavigator.tsx b/src/routes/main/MainStackNavigator.tsx index 142249ce..f848a5ab 100644 --- a/src/routes/main/MainStackNavigator.tsx +++ b/src/routes/main/MainStackNavigator.tsx @@ -84,6 +84,9 @@ export type MainStackParams = { badge_title: string; badge_img: string; }; + InviteFriendsScreen: { + screenType: ScreenType; + }; }; export const MainStack = createStackNavigator<MainStackParams>(); diff --git a/src/routes/main/MainStackScreen.tsx b/src/routes/main/MainStackScreen.tsx index 35c306e5..d2f0d460 100644 --- a/src/routes/main/MainStackScreen.tsx +++ b/src/routes/main/MainStackScreen.tsx @@ -15,6 +15,7 @@ import { EditProfile, FriendsListScreen, IndividualMoment, + InviteFriendsScreen, MomentCommentsScreen, MomentUploadPromptScreen, NotificationsScreen, @@ -221,6 +222,19 @@ const MainStackScreen: React.FC<MainStackProps> = ({route}) => { }} /> <MainStack.Screen + name="InviteFriendsScreen" + component={InviteFriendsScreen} + initialParams={{screenType}} + options={{ + ...headerBarOptions('black', 'Invites'), + }} + /> + <MainStack.Screen + name="RequestContactsAccess" + component={RequestContactsAccess} + initialParams={{screenType}} + /> + <MainStack.Screen name="EditProfile" component={EditProfile} options={{ |
