REF: Wallet cards alignment on RTL

This commit is contained in:
ncoelho 2021-05-31 14:20:41 +02:00
parent abc058aba3
commit e30c80b383

View File

@ -26,7 +26,8 @@ import { BlueStorageContext } from '../blue_modules/storage-context';
const nStyles = StyleSheet.create({ const nStyles = StyleSheet.create({
root: { root: {
marginVertical: 17, marginVertical: 17,
paddingLeft: 16, paddingLeft: I18nManager.isRTL ? 12 : 0,
paddingRight: I18nManager.isRTL ? 0 : 12,
}, },
container: { container: {
paddingHorizontal: 24, paddingHorizontal: 24,
@ -77,7 +78,8 @@ NewWalletPanel.propTypes = {
const iStyles = StyleSheet.create({ const iStyles = StyleSheet.create({
root: { root: {
paddingLeft: 16, paddingLeft: I18nManager.isRTL ? 12 : 0,
paddingRight: I18nManager.isRTL ? 0 : 12,
marginVertical: 17, marginVertical: 17,
}, },
grad: { grad: {