mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-18 19:01:38 +03:00
setting fontWeight to bold instead of numeric bold
This is a known issue in android support for font... for fix this I use a separate extension of Text that overrides fontWeight property for matching fontFamily to use for instance for fontWeight 700, the font family would be Roboto-Bold etc... For now, I have fixed it by setting fontWeight to bold instead of numbered weight as that works in android.
This commit is contained in:
parent
7516d81f39
commit
b96670400b
@ -11,7 +11,7 @@ export default EStyleSheet.create({
|
||||
title: {
|
||||
fontSize: 24,
|
||||
color: '$primaryBlack',
|
||||
fontWeight: '900',
|
||||
fontWeight: 'bold',
|
||||
fontFamily: '$primaryFont',
|
||||
marginBottom: 11,
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user