Updated HeaderTitle fontWeight to match current iOS11&12 style
This commit is contained in:
parent
094ebbe4a9
commit
0c6b835b9c
|
@ -238,7 +238,7 @@ exports[`Nested navigators renders succesfully as direct child 1`] = `
|
|||
Object {
|
||||
"color": "rgba(0, 0, 0, .9)",
|
||||
"fontSize": 17,
|
||||
"fontWeight": "700",
|
||||
"fontWeight": "600",
|
||||
"marginHorizontal": 16,
|
||||
"textAlign": "center",
|
||||
}
|
||||
|
@ -348,7 +348,7 @@ exports[`Nested navigators renders succesfully as direct child 1`] = `
|
|||
Object {
|
||||
"color": "rgba(0, 0, 0, .9)",
|
||||
"fontSize": 17,
|
||||
"fontWeight": "700",
|
||||
"fontWeight": "600",
|
||||
"marginHorizontal": 16,
|
||||
"textAlign": "center",
|
||||
}
|
||||
|
|
|
@ -168,7 +168,7 @@ exports[`StackNavigator applies correct values when headerRight is present 1`] =
|
|||
Object {
|
||||
"color": "rgba(0, 0, 0, .9)",
|
||||
"fontSize": 17,
|
||||
"fontWeight": "700",
|
||||
"fontWeight": "600",
|
||||
"marginHorizontal": 16,
|
||||
"textAlign": "center",
|
||||
}
|
||||
|
@ -372,7 +372,7 @@ exports[`StackNavigator renders successfully 1`] = `
|
|||
Object {
|
||||
"color": "rgba(0, 0, 0, .9)",
|
||||
"fontSize": 17,
|
||||
"fontWeight": "700",
|
||||
"fontWeight": "600",
|
||||
"marginHorizontal": 16,
|
||||
"textAlign": "center",
|
||||
}
|
||||
|
|
|
@ -15,7 +15,7 @@ const HeaderTitle = ({ style, ...rest }) => (
|
|||
const styles = StyleSheet.create({
|
||||
title: {
|
||||
fontSize: Platform.OS === 'ios' ? 17 : 20,
|
||||
fontWeight: Platform.OS === 'ios' ? '700' : '500',
|
||||
fontWeight: Platform.OS === 'ios' ? '600' : '500',
|
||||
color: 'rgba(0, 0, 0, .9)',
|
||||
marginHorizontal: 16,
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue