Merge pull request #2130 from ecency/sa/rtl/boost-page-rtl-fix

boost page rtl fix
This commit is contained in:
Feruz M 2022-01-07 08:05:28 +02:00 committed by GitHub
commit 44200550b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,5 @@
import EStyleSheet from 'react-native-extended-stylesheet';
import { isRTL } from '../../utils/I18nUtils';
export default EStyleSheet.create({
container: {
@ -54,6 +55,7 @@ export default EStyleSheet.create({
autocompleteLabelText: {
color: '$primaryBlack',
fontWeight: '600',
textAlign: 'left',
},
autocompleteListContainer: {
backgroundColor: '$primaryWhiteLightBackground',
@ -146,7 +148,7 @@ export default EStyleSheet.create({
},
total: {
marginVertical: 15,
flexDirection: 'row',
flexDirection: isRTL() ? 'row-reverse' : 'row',
flex: 1,
justifyContent: 'center',
alignItems: 'center',