From fad3b7227d53f8bd0e184192aa1e095448811c1f Mon Sep 17 00:00:00 2001 From: marcosrdz Date: Thu, 21 May 2020 20:21:08 -0400 Subject: [PATCH] Revert "Update list.js" This reverts commit e9e34f0c467d1771fef0a4b9d9eec0052971c792. --- screen/wallets/list.js | 36 ++++++++++++++++++++---------------- 1 file changed, 20 insertions(+), 16 deletions(-) diff --git a/screen/wallets/list.js b/screen/wallets/list.js index 1f02726a4..5dafacd55 100644 --- a/screen/wallets/list.js +++ b/screen/wallets/list.js @@ -418,22 +418,26 @@ export default class WalletsList extends Component { }; renderScanButton = () => { - return ( - - - - ); + if (BlueApp.getWallets().length > 0 && !BlueApp.getWallets().some(wallet => wallet.type === PlaceholderWallet.type)) { + return ( + + + + ); + } else { + return null; + } }; sectionListKeyExtractor = (item, index) => {