Revert "Update list.js"

This reverts commit e9e34f0c46.
This commit is contained in:
marcosrdz 2020-05-21 20:21:08 -04:00 committed by Overtorment
parent 0dcd2698bf
commit fad3b7227d

View File

@ -418,22 +418,26 @@ export default class WalletsList extends Component {
};
renderScanButton = () => {
return (
<View
style={{
flexDirection: 'row',
alignSelf: 'center',
backgroundColor: 'transparent',
position: 'absolute',
bottom: 30,
borderRadius: 30,
minHeight: 48,
overflow: 'hidden',
}}
>
<BlueScanButton onPress={this.onScanButtonPressed} />
</View>
);
if (BlueApp.getWallets().length > 0 && !BlueApp.getWallets().some(wallet => wallet.type === PlaceholderWallet.type)) {
return (
<View
style={{
flexDirection: 'row',
alignSelf: 'center',
backgroundColor: 'transparent',
position: 'absolute',
bottom: 30,
borderRadius: 30,
minHeight: 48,
overflow: 'hidden',
}}
>
<BlueScanButton onPress={this.onScanButtonPressed} />
</View>
);
} else {
return null;
}
};
sectionListKeyExtractor = (item, index) => {