diff options
Diffstat (limited to 'src/routes')
| -rw-r--r-- | src/routes/main/MainStackNavigator.tsx | 11 | ||||
| -rw-r--r-- | src/routes/main/MainStackScreen.tsx | 8 |
2 files changed, 18 insertions, 1 deletions
diff --git a/src/routes/main/MainStackNavigator.tsx b/src/routes/main/MainStackNavigator.tsx index 1f173569..3b183cc0 100644 --- a/src/routes/main/MainStackNavigator.tsx +++ b/src/routes/main/MainStackNavigator.tsx @@ -3,7 +3,12 @@ */ import {createStackNavigator} from '@react-navigation/stack'; import {Image} from 'react-native-image-crop-picker'; -import {MomentType, ScreenType, SearchCategoryType} from '../../types'; +import { + CommentBaseType, + MomentType, + ScreenType, + SearchCategoryType, +} from '../../types'; export type MainStackParams = { SuggestedPeople: { @@ -46,6 +51,10 @@ export type MainStackParams = { screenType: ScreenType; comment_id?: string; }; + CommentReactionScreen: { + comment: CommentBaseType; + screenType: ScreenType; + }; FriendsListScreen: { userXId: string | undefined; screenType: ScreenType; diff --git a/src/routes/main/MainStackScreen.tsx b/src/routes/main/MainStackScreen.tsx index f5100e58..d76f9137 100644 --- a/src/routes/main/MainStackScreen.tsx +++ b/src/routes/main/MainStackScreen.tsx @@ -12,6 +12,7 @@ import { CategorySelection, ChatListScreen, ChatScreen, + CommentReactionScreen, CreateCustomCategory, DiscoverUsers, EditProfile, @@ -217,6 +218,13 @@ const MainStackScreen: React.FC<MainStackProps> = ({route}) => { }} /> <MainStack.Screen + name="CommentReactionScreen" + component={CommentReactionScreen} + options={{ + ...headerBarOptions('black', 'Likes'), + }} + /> + <MainStack.Screen name="MomentUploadPrompt" component={MomentUploadPromptScreen} initialParams={{screenType}} |
