forked from vergnet/application-amicale
Fixed navigation parameters
This commit is contained in:
parent
fe4d9ffecf
commit
912a30edc6
1 changed files with 8 additions and 0 deletions
|
@ -291,6 +291,9 @@ function PlanexStackComponent() {
|
||||||
options={({navigation}) => {
|
options={({navigation}) => {
|
||||||
return {
|
return {
|
||||||
title: 'GroupSelectionScreen',
|
title: 'GroupSelectionScreen',
|
||||||
|
headerStyle: {
|
||||||
|
backgroundColor: colors.surface,
|
||||||
|
},
|
||||||
...TransitionPresets.ModalSlideFromBottomIOS,
|
...TransitionPresets.ModalSlideFromBottomIOS,
|
||||||
};
|
};
|
||||||
}}
|
}}
|
||||||
|
@ -345,11 +348,14 @@ class TabNavigator extends React.Component<Props> {
|
||||||
>
|
>
|
||||||
<Tab.Screen
|
<Tab.Screen
|
||||||
name="proximo"
|
name="proximo"
|
||||||
|
option
|
||||||
component={ProximoStackComponent}
|
component={ProximoStackComponent}
|
||||||
|
options={{title: i18n.t('screens.proximo')}}
|
||||||
/>
|
/>
|
||||||
<Tab.Screen
|
<Tab.Screen
|
||||||
name="planning"
|
name="planning"
|
||||||
component={PlanningStackComponent}
|
component={PlanningStackComponent}
|
||||||
|
options={{title: i18n.t('screens.planning')}}
|
||||||
/>
|
/>
|
||||||
<Tab.Screen
|
<Tab.Screen
|
||||||
name="home"
|
name="home"
|
||||||
|
@ -359,10 +365,12 @@ class TabNavigator extends React.Component<Props> {
|
||||||
<Tab.Screen
|
<Tab.Screen
|
||||||
name="proxiwash"
|
name="proxiwash"
|
||||||
component={ProxiwashStackComponent}
|
component={ProxiwashStackComponent}
|
||||||
|
options={{title: i18n.t('screens.proxiwash')}}
|
||||||
/>
|
/>
|
||||||
<Tab.Screen
|
<Tab.Screen
|
||||||
name="planex"
|
name="planex"
|
||||||
component={PlanexStackComponent}
|
component={PlanexStackComponent}
|
||||||
|
options={{title: "Planex"}}
|
||||||
/>
|
/>
|
||||||
</Tab.Navigator>
|
</Tab.Navigator>
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue