fix: add alignSelf style for Android to prevent text from getting cut off (#5571)

This commit is contained in:
Gleidson Daniel Silva 2024-02-16 18:17:14 -03:00 committed by GitHub
parent f89a28e4f7
commit 079b401b38
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -7,7 +7,8 @@ const defaultTextStyle: TextStyle = {
backgroundColor: 'transparent',
...Platform.select({
android: {
includeFontPadding: false
includeFontPadding: false,
alignSelf: 'stretch'
}
})
};