diff options
| author | Ivan Chen <ivan@tagg.id> | 2021-04-09 17:15:29 -0400 |
|---|---|---|
| committer | Ivan Chen <ivan@tagg.id> | 2021-04-09 17:15:29 -0400 |
| commit | 347e9e450268e4897b8dd241721b84945d9e2ec9 (patch) | |
| tree | 58334be3724398c886365e99901e4442f5657172 /src/routes/tabs/NavigationBar.tsx | |
| parent | 097b515066f1a0c38cb7fb69cf78b16b945594e5 (diff) | |
| parent | 3ec56863bfdd47b2ee8d0f0fe5a45be779508660 (diff) | |
Merge branch 'master' into tma756-bugfix-onpress-tagg-on-sp
# Conflicts:
# src/components/taggs/TaggsBar.tsx
Diffstat (limited to 'src/routes/tabs/NavigationBar.tsx')
| -rw-r--r-- | src/routes/tabs/NavigationBar.tsx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/routes/tabs/NavigationBar.tsx b/src/routes/tabs/NavigationBar.tsx index e9208525..9b8427e7 100644 --- a/src/routes/tabs/NavigationBar.tsx +++ b/src/routes/tabs/NavigationBar.tsx @@ -54,6 +54,8 @@ const NavigationBar: React.FC = () => { disabled={!focused} /> ); + case 'Chat': + return <NavigationIcon tab="Chat" disabled={!focused} />; case 'Profile': return <NavigationIcon tab="Profile" disabled={!focused} />; case 'SuggestedPeople': @@ -93,6 +95,11 @@ const NavigationBar: React.FC = () => { initialParams={{screenType: ScreenType.Notifications}} /> <Tabs.Screen + name="Chat" + component={MainStackScreen} + initialParams={{screenType: ScreenType.Chat}} + /> + <Tabs.Screen name="Profile" component={MainStackScreen} initialParams={{screenType: ScreenType.Profile}} |
