@@ -13,12 +13,13 @@ 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 UsersProfileScreen from '../users/UsersProfileScreen' ;
2223
2324export type MainTabsNavigatorParamList = { |
2425 + home : RouteParamsOf < typeof HomeScreen > ,
@@ -77,14 +78,22 @@ export default function MainTabsScreen(props: Props): Node {
7778 component = { PmConversationsScreen }
7879 options = { {
7980 tabBarLabel : 'Private messages' ,
80- tabBarIcon : ( { color } ) => < IconPeople size = { 24 } color = { color } /> ,
81+ tabBarIcon : ( { color } ) => < IconPrivateChat size = { 24 } color = { color } /> ,
8182 tabBarBadge : unreadPmsCount > 0 ? unreadPmsCount : undefined ,
8283 tabBarBadgeStyle : {
8384 color : 'white' ,
8485 backgroundColor : BRAND_COLOR ,
8586 } ,
8687 } }
8788 />
89+ < Tab . Screen
90+ name = "users"
91+ component = { UsersProfileScreen }
92+ options = { {
93+ tabBarLabel : 'Users' ,
94+ tabBarIcon : ( { color } ) => < IconPeople size = { 24 } color = { color } /> ,
95+ } }
96+ />
8897 < Tab . Screen
8998 name = "profile"
9099 component = { ProfileScreen }
0 commit comments