-
-
Notifications
You must be signed in to change notification settings - Fork 5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: fix android header title font weight #7720
Conversation
The Expo app for the example from this branch is ready! |
d6a1c79
to
3ef4f2b
Compare
The Expo app for the example from this branch is ready! |
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 Update HeaderTitle.tsx
3ef4f2b
to
03b1161
Compare
Codecov Report
@@ Coverage Diff @@
## master #7720 +/- ##
=======================================
Coverage 90.56% 90.56%
=======================================
Files 40 40
Lines 1060 1060
Branches 276 281 +5
=======================================
Hits 960 960
Misses 86 86
Partials 14 14 Continue to review full report at Codecov.
|
The Expo app for the example from this branch is ready! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR
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
the previously used fort weight of 500 would effectively be converted to
fontWeight: bold
. Because of facebook/react-native#25341 that does not happen as of 0.61 - fontWeight 500 for roboto actually is the same as 400 in latest RN. Because of that the title font doesn't look right (to me at least 😄 ) - it certainly looks different than before.this fixes the title appearance to look as customary (it's thicker than now, but not as thick as it used to be).
images: old behavior, master, my branch