Skip to content
This repository has been archived by the owner on Feb 25, 2020. It is now read-only.

Commit

Permalink
Updated HeaderTitle fontWeight to match current iOS11&12 style
Browse files Browse the repository at this point in the history
  • Loading branch information
dylancom committed Aug 4, 2018
1 parent 094ebbe commit 0c6b835
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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",
}
Expand Down Expand Up @@ -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",
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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",
}
Expand Down Expand Up @@ -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",
}
Expand Down
2 changes: 1 addition & 1 deletion src/views/Header/HeaderTitle.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
Expand Down

0 comments on commit 0c6b835

Please sign in to comment.