aboutsummaryrefslogtreecommitdiff
path: root/src/routes/tabs
diff options
context:
space:
mode:
Diffstat (limited to 'src/routes/tabs')
-rw-r--r--src/routes/tabs/NavigationBar.tsx15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/routes/tabs/NavigationBar.tsx b/src/routes/tabs/NavigationBar.tsx
index f3043696..9d7d4b12 100644
--- a/src/routes/tabs/NavigationBar.tsx
+++ b/src/routes/tabs/NavigationBar.tsx
@@ -2,7 +2,7 @@ import {createBottomTabNavigator} from '@react-navigation/bottom-tabs';
import React, {Fragment} from 'react';
import {NavigationIcon} from '../../components';
import {ScreenType} from '../../types';
-import Profile from '../profile/ProfileStackScreen';
+import MainStackScreen from '../main/MainStackScreen';
const Tabs = createBottomTabNavigator();
@@ -39,18 +39,19 @@ const NavigationBar: React.FC = () => {
bottom: '1%',
},
}}>
- {/* Removed for Alpha for now */}
- {/* <Tabs.Screen name="Home" component={Home} />
- <Tabs.Screen name="Notifications" component={Notifications} />
- <Tabs.Screen name="Upload" component={Upload} /> */}
+ <Tabs.Screen
+ name="Notifications"
+ component={MainStackScreen}
+ initialParams={{screenType: ScreenType.Notifications}}
+ />
<Tabs.Screen
name="Search"
- component={Profile}
+ component={MainStackScreen}
initialParams={{screenType: ScreenType.Search}}
/>
<Tabs.Screen
name="Profile"
- component={Profile}
+ component={MainStackScreen}
initialParams={{screenType: ScreenType.Profile}}
/>
</Tabs.Navigator>