mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-02-22 23:08:07 +01:00
FIX: small RTL alignment issue #3677
This commit is contained in:
parent
73944174d5
commit
bbc364399a
2 changed files with 9 additions and 1 deletions
|
@ -413,6 +413,7 @@ export const BlueListItem = React.memo(props => {
|
|||
color: props.disabled ? colors.buttonDisabledTextColor : colors.foregroundColor,
|
||||
fontSize: 16,
|
||||
fontWeight: '500',
|
||||
writingDirection: I18nManager.isRTL ? 'rtl' : 'ltr',
|
||||
}}
|
||||
numberOfLines={0}
|
||||
accessible={props.switch === undefined}
|
||||
|
@ -423,7 +424,13 @@ export const BlueListItem = React.memo(props => {
|
|||
<ListItem.Subtitle
|
||||
numberOfLines={props.subtitleNumberOfLines ?? 1}
|
||||
accessible={props.switch === undefined}
|
||||
style={{ flexWrap: 'wrap', color: colors.alternativeTextColor, fontWeight: '400', fontSize: 14 }}
|
||||
style={{
|
||||
flexWrap: 'wrap',
|
||||
writingDirection: I18nManager.isRTL ? 'rtl' : 'ltr',
|
||||
color: colors.alternativeTextColor,
|
||||
fontWeight: '400',
|
||||
fontSize: 14,
|
||||
}}
|
||||
>
|
||||
{props.subtitle}
|
||||
</ListItem.Subtitle>
|
||||
|
|
|
@ -425,6 +425,7 @@ const styles = StyleSheet.create({
|
|||
fontSize: 14,
|
||||
},
|
||||
expiresIn: {
|
||||
writingDirection: I18nManager.isRTL ? 'rtl' : 'ltr',
|
||||
color: '#81868e',
|
||||
fontSize: 12,
|
||||
left: 20,
|
||||
|
|
Loading…
Add table
Reference in a new issue