aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShravya Ramesh <shravs1208@gmail.com>2021-05-20 10:05:02 -0700
committerShravya Ramesh <shravs1208@gmail.com>2021-05-20 17:54:36 -0700
commit0ea5e2a5c9a717638a2714aef54d729938fe562e (patch)
tree6f27febea55872ff320d81faed27ce5cfee818d0
parent7c2be0e80e5da6d2359a30948037c1c1e78c0200 (diff)
Missed from previous commit
-rw-r--r--src/routes/main/MainStackNavigator.tsx6
-rw-r--r--src/routes/main/MainStackScreen.tsx8
2 files changed, 12 insertions, 2 deletions
diff --git a/src/routes/main/MainStackNavigator.tsx b/src/routes/main/MainStackNavigator.tsx
index dac60c0c..67be9e46 100644
--- a/src/routes/main/MainStackNavigator.tsx
+++ b/src/routes/main/MainStackNavigator.tsx
@@ -6,6 +6,7 @@ import {Image} from 'react-native-image-crop-picker';
import {
CommentBaseType,
MomentType,
+ ProfilePreviewType,
ScreenType,
SearchCategoryType,
} from '../../types';
@@ -39,6 +40,7 @@ export type MainStackParams = {
title: string;
image: Image;
screenType: ScreenType;
+ selectedUsers?: ProfilePreviewType[];
};
IndividualMoment: {
moment: MomentType;
@@ -99,7 +101,9 @@ export type MainStackParams = {
ChatList: undefined;
Chat: undefined;
NewChatModal: undefined;
- TagSelection: undefined;
+ TagSelection: {
+ selectedUsers: ProfilePreviewType[];
+ };
};
export const MainStack = createStackNavigator<MainStackParams>();
diff --git a/src/routes/main/MainStackScreen.tsx b/src/routes/main/MainStackScreen.tsx
index d146190c..d18d11c6 100644
--- a/src/routes/main/MainStackScreen.tsx
+++ b/src/routes/main/MainStackScreen.tsx
@@ -311,7 +311,13 @@ const MainStackScreen: React.FC<MainStackProps> = ({route}) => {
component={NewChatModal}
options={{headerShown: false, ...newChatModalStyle}}
/>
- <MainStack.Screen name="TagSelection" component={TagSelection} />
+ <MainStack.Screen
+ name="TagSelection"
+ component={TagSelection}
+ options={{
+ ...headerBarOptions('black', ''),
+ }}
+ />
</MainStack.Navigator>
);
};