@@ -13,12 +13,14 @@ import type { AppNavigationMethods, AppNavigationProp } from '../nav/AppNavigato
1313import { bottomTabNavigatorConfig } from '../styles/tabs' ;
1414import HomeScreen from './HomeScreen' ;
1515import PmConversationsScreen from '../pm-conversations/PmConversationsScreen' ;
16- import { IconInbox , IconStream , IconPeople } from '../common/Icons' ;
16+ import { IconInbox , IconStream , IconPeople , IconPrivateChat } from '../common/Icons' ;
1717import OwnAvatar from '../common/OwnAvatar' ;
1818import OfflineNotice from '../common/OfflineNotice' ;
1919import ProfileScreen from '../account-info/ProfileScreen' ;
2020import styles , { BRAND_COLOR , ThemeContext } from '../styles' ;
2121import SubscriptionsScreen from '../streams/SubscriptionsScreen' ;
22+ import UsersScreen from '../users/UsersScreen' ;
23+ import UsersProfileScreen from '../users/UsersProfileScreen' ;
2224
2325export type MainTabsNavigatorParamList = { |
2426 + home : RouteParamsOf < typeof HomeScreen > ,
@@ -77,14 +79,22 @@ export default function MainTabsScreen(props: Props): Node {
7779 component = { PmConversationsScreen }
7880 options = { {
7981 tabBarLabel : 'Private messages' ,
80- tabBarIcon : ( { color } ) => < IconPeople size = { 24 } color = { color } /> ,
82+ tabBarIcon : ( { color } ) => < IconPrivateChat size = { 24 } color = { color } /> ,
8183 tabBarBadge : unreadPmsCount > 0 ? unreadPmsCount : undefined ,
8284 tabBarBadgeStyle : {
8385 color : 'white' ,
8486 backgroundColor : BRAND_COLOR ,
8587 } ,
8688 } }
8789 />
90+ < Tab . Screen
91+ name = "users"
92+ component = { UsersProfileScreen }
93+ options = { {
94+ tabBarLabel : 'Users' ,
95+ tabBarIcon : ( { color } ) => < IconPeople size = { 24 } color = { color } /> ,
96+ } }
97+ />
8898 < Tab . Screen
8999 name = "profile"
90100 component = { ProfileScreen }
0 commit comments