@@ -13,12 +13,13 @@ import type { AppNavigationMethods, AppNavigationProp } from '../nav/AppNavigato
13
13
import { bottomTabNavigatorConfig } from '../styles/tabs' ;
14
14
import HomeScreen from './HomeScreen' ;
15
15
import PmConversationsScreen from '../pm-conversations/PmConversationsScreen' ;
16
- import { IconInbox , IconStream , IconPeople } from '../common/Icons' ;
16
+ import { IconInbox , IconStream , IconPeople , IconPrivateChat } from '../common/Icons' ;
17
17
import OwnAvatar from '../common/OwnAvatar' ;
18
18
import OfflineNotice from '../common/OfflineNotice' ;
19
19
import ProfileScreen from '../account-info/ProfileScreen' ;
20
20
import styles , { BRAND_COLOR , ThemeContext } from '../styles' ;
21
21
import SubscriptionsScreen from '../streams/SubscriptionsScreen' ;
22
+ import UsersProfileScreen from '../users/UsersProfileScreen' ;
22
23
23
24
export type MainTabsNavigatorParamList = { |
24
25
+ home : RouteParamsOf < typeof HomeScreen > ,
@@ -77,14 +78,22 @@ export default function MainTabsScreen(props: Props): Node {
77
78
component = { PmConversationsScreen }
78
79
options = { {
79
80
tabBarLabel : 'Private messages' ,
80
- tabBarIcon : ( { color } ) => < IconPeople size = { 24 } color = { color } /> ,
81
+ tabBarIcon : ( { color } ) => < IconPrivateChat size = { 24 } color = { color } /> ,
81
82
tabBarBadge : unreadPmsCount > 0 ? unreadPmsCount : undefined ,
82
83
tabBarBadgeStyle : {
83
84
color : 'white' ,
84
85
backgroundColor : BRAND_COLOR ,
85
86
} ,
86
87
} }
87
88
/>
89
+ < Tab . Screen
90
+ name = "users"
91
+ component = { UsersProfileScreen }
92
+ options = { {
93
+ tabBarLabel : 'Users' ,
94
+ tabBarIcon : ( { color } ) => < IconPeople size = { 24 } color = { color } /> ,
95
+ } }
96
+ />
88
97
< Tab . Screen
89
98
name = "profile"
90
99
component = { ProfileScreen }
0 commit comments