Skip to content

Commit cc851d4

Browse files
committed
move navigationOptions for otherModes to otherModes itself
1 parent d8a02ea commit cc851d4

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

source/views/transportation/index.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,6 @@ export default TabNavigator(
4040

4141
TransportationOtherModesListView: {
4242
screen: OtherModesView,
43-
navigationOptions: {
44-
tabBarLabel: 'Other Modes',
45-
tabBarIcon: TabBarIcon('boat'),
46-
},
4743
},
4844
},
4945
{

source/views/transportation/otherModes.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,3 +52,7 @@ export default function OtherModesView() {
5252
</SimpleListView>
5353
)
5454
}
55+
OtherModesView.navigationOptions = {
56+
tabBarLabel: 'Other Modes',
57+
tabBarIcon: TabBarIcon('boat'),
58+
}

0 commit comments

Comments
 (0)