mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-22 12:51:42 +03:00
sticking text-justify to auto for android
This commit is contained in:
parent
d63e67da5e
commit
c48deced34
@ -1,4 +1,4 @@
|
||||
import { ImageStyle } from 'react-native';
|
||||
import { ImageStyle, Platform } from 'react-native';
|
||||
import { ViewStyle, TextStyle } from 'react-native';
|
||||
import EStyleSheet from 'react-native-extended-stylesheet';
|
||||
|
||||
@ -82,7 +82,7 @@ export default EStyleSheet.create({
|
||||
flexWrap:'wrap'
|
||||
} as TextStyle,
|
||||
textJustify:{
|
||||
textAlign:'justify',
|
||||
textAlign: Platform.select({ios:'justify', android:'auto'}), //justify with selectable on android causes ends of text getting clipped,
|
||||
letterSpacing:0
|
||||
} as TextStyle,
|
||||
revealButton: {
|
||||
|
Loading…
Reference in New Issue
Block a user