mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2024-11-19 09:50:15 +01:00
parent
0dcd2698bf
commit
fad3b7227d
@ -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) => {
|
||||
|
Loading…
Reference in New Issue
Block a user