mirror of
https://github.com/status-im/react-navigation-stack.git
synced 2025-02-17 08:57:04 +00:00
Merge pull request #1 from dylancompanjen/master
Updated HeaderTitle fontWeight to match current iOS11&12 style
This commit is contained in:
commit
d6b1f5c967
@ -238,7 +238,7 @@ exports[`Nested navigators renders succesfully as direct child 1`] = `
|
|||||||
Object {
|
Object {
|
||||||
"color": "rgba(0, 0, 0, .9)",
|
"color": "rgba(0, 0, 0, .9)",
|
||||||
"fontSize": 17,
|
"fontSize": 17,
|
||||||
"fontWeight": "700",
|
"fontWeight": "600",
|
||||||
"marginHorizontal": 16,
|
"marginHorizontal": 16,
|
||||||
"textAlign": "center",
|
"textAlign": "center",
|
||||||
}
|
}
|
||||||
@ -348,7 +348,7 @@ exports[`Nested navigators renders succesfully as direct child 1`] = `
|
|||||||
Object {
|
Object {
|
||||||
"color": "rgba(0, 0, 0, .9)",
|
"color": "rgba(0, 0, 0, .9)",
|
||||||
"fontSize": 17,
|
"fontSize": 17,
|
||||||
"fontWeight": "700",
|
"fontWeight": "600",
|
||||||
"marginHorizontal": 16,
|
"marginHorizontal": 16,
|
||||||
"textAlign": "center",
|
"textAlign": "center",
|
||||||
}
|
}
|
||||||
|
@ -168,7 +168,7 @@ exports[`StackNavigator applies correct values when headerRight is present 1`] =
|
|||||||
Object {
|
Object {
|
||||||
"color": "rgba(0, 0, 0, .9)",
|
"color": "rgba(0, 0, 0, .9)",
|
||||||
"fontSize": 17,
|
"fontSize": 17,
|
||||||
"fontWeight": "700",
|
"fontWeight": "600",
|
||||||
"marginHorizontal": 16,
|
"marginHorizontal": 16,
|
||||||
"textAlign": "center",
|
"textAlign": "center",
|
||||||
}
|
}
|
||||||
@ -372,7 +372,7 @@ exports[`StackNavigator renders successfully 1`] = `
|
|||||||
Object {
|
Object {
|
||||||
"color": "rgba(0, 0, 0, .9)",
|
"color": "rgba(0, 0, 0, .9)",
|
||||||
"fontSize": 17,
|
"fontSize": 17,
|
||||||
"fontWeight": "700",
|
"fontWeight": "600",
|
||||||
"marginHorizontal": 16,
|
"marginHorizontal": 16,
|
||||||
"textAlign": "center",
|
"textAlign": "center",
|
||||||
}
|
}
|
||||||
|
@ -15,7 +15,7 @@ const HeaderTitle = ({ style, ...rest }) => (
|
|||||||
const styles = StyleSheet.create({
|
const styles = StyleSheet.create({
|
||||||
title: {
|
title: {
|
||||||
fontSize: Platform.OS === 'ios' ? 17 : 20,
|
fontSize: Platform.OS === 'ios' ? 17 : 20,
|
||||||
fontWeight: Platform.OS === 'ios' ? '700' : '500',
|
fontWeight: Platform.OS === 'ios' ? '600' : '500',
|
||||||
color: 'rgba(0, 0, 0, .9)',
|
color: 'rgba(0, 0, 0, .9)',
|
||||||
marginHorizontal: 16,
|
marginHorizontal: 16,
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user