Skip to content

Commit

Permalink
fix: fix android header title font weight (#7720)
Browse files Browse the repository at this point in the history
the previously used fort weight of 500 would effectively be converted to `fontWeight: bold` because of facebook/react-native#25341

this fixes the title appearance to look as customary
  • Loading branch information
vonovak authored Mar 16, 2020
1 parent 52be4ca commit 62a366d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/stack/src/views/Header/HeaderTitle.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ const styles = StyleSheet.create({
},
android: {
fontSize: 20,
fontWeight: '500',
fontFamily: 'sans-serif-medium',
fontWeight: 'normal',
},
default: {
fontSize: 18,
Expand Down

0 comments on commit 62a366d

Please sign in to comment.