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

Commit

Permalink
Merge pull request #1 from dylancompanjen/master
Browse files Browse the repository at this point in the history
Updated HeaderTitle fontWeight to match current iOS11&12 style
  • Loading branch information
brentvatne authored Aug 14, 2018
2 parents d98ae14 + 0c6b835 commit d6b1f5c
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 d6b1f5c

Please sign in to comment.