fix: add alignSelf style for Android to prevent text from getting cut off (#5571)
This commit is contained in:
parent
f89a28e4f7
commit
079b401b38
|
@ -7,7 +7,8 @@ const defaultTextStyle: TextStyle = {
|
||||||
backgroundColor: 'transparent',
|
backgroundColor: 'transparent',
|
||||||
...Platform.select({
|
...Platform.select({
|
||||||
android: {
|
android: {
|
||||||
includeFontPadding: false
|
includeFontPadding: false,
|
||||||
|
alignSelf: 'stretch'
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue