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

Updated HeaderTitle fontWeight to match current iOS11&12 style #1

Merged
merged 1 commit into from
Aug 14, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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