add ids to web primary screens
This commit is contained in:
@@ -729,26 +729,31 @@ const FlatNavigator = () => {
|
|||||||
name="Home"
|
name="Home"
|
||||||
getComponent={() => HomeScreen}
|
getComponent={() => HomeScreen}
|
||||||
options={{title: title(msg`Home`)}}
|
options={{title: title(msg`Home`)}}
|
||||||
|
getId={() => 'home'}
|
||||||
/>
|
/>
|
||||||
<Flat.Screen
|
<Flat.Screen
|
||||||
name="Search"
|
name="Search"
|
||||||
getComponent={() => SearchScreen}
|
getComponent={() => SearchScreen}
|
||||||
options={{title: title(msg`Explore`)}}
|
options={{title: title(msg`Explore`)}}
|
||||||
|
getId={() => 'search'}
|
||||||
/>
|
/>
|
||||||
<Flat.Screen
|
<Flat.Screen
|
||||||
name="Notifications"
|
name="Notifications"
|
||||||
getComponent={() => NotificationsScreen}
|
getComponent={() => NotificationsScreen}
|
||||||
options={{title: title(msg`Notifications`), requireAuth: true}}
|
options={{title: title(msg`Notifications`), requireAuth: true}}
|
||||||
|
getId={() => 'notifications'}
|
||||||
/>
|
/>
|
||||||
<Flat.Screen
|
<Flat.Screen
|
||||||
name="Messages"
|
name="Messages"
|
||||||
getComponent={() => MessagesScreen}
|
getComponent={() => MessagesScreen}
|
||||||
options={{title: title(msg`Messages`), requireAuth: true}}
|
options={{title: title(msg`Messages`), requireAuth: true}}
|
||||||
|
getId={() => 'messages'}
|
||||||
/>
|
/>
|
||||||
<Flat.Screen
|
<Flat.Screen
|
||||||
name="Start"
|
name="Start"
|
||||||
getComponent={() => HomeScreen}
|
getComponent={() => HomeScreen}
|
||||||
options={{title: title(msg`Home`)}}
|
options={{title: title(msg`Home`)}}
|
||||||
|
getId={() => 'start'}
|
||||||
/>
|
/>
|
||||||
{commonScreens(Flat, numUnread)}
|
{commonScreens(Flat, numUnread)}
|
||||||
</Flat.Navigator>
|
</Flat.Navigator>
|
||||||
|
|||||||
Reference in New Issue
Block a user