Browse Source

align margin on tx list

If this is not the most elegant way to do this, let me know
snyk-fix-84644e4a03e171e392ba652f3dc364b5
ncoelho 5 years ago
committed by Overtorment
parent
commit
4a7a4758e0
  1. 7
      screen/wallets/list.js
  2. 2
      screen/wallets/transactions.js

7
screen/wallets/list.js

@ -311,7 +311,12 @@ export default class WalletsList extends Component {
};
_renderItem = data => {
return <BlueTransactionListItem item={data.item} itemPriceUnit={data.item.walletPreferredBalanceUnit} />;
return (
<View style={{ marginHorizontal: 4 }}>
<BlueTransactionListItem item={data.item} itemPriceUnit={data.item.walletPreferredBalanceUnit} />
</View>
);
};
renderNavigationHeader = () => {

2
screen/wallets/transactions.js

@ -444,11 +444,13 @@ export default class WalletTransactions extends Component {
renderItem = item => {
return (
<View style={{ marginHorizontal: 4 }}>
<BlueTransactionListItem
item={item.item}
itemPriceUnit={this.state.wallet.getPreferredBalanceUnit()}
shouldRefresh={this.state.timeElapsed}
/>
</View>
);
};

Loading…
Cancel
Save