From 999cc1f163920ae02df08dd153bb2fac0a866ab0 Mon Sep 17 00:00:00 2001 From: Overtorment Date: Wed, 29 Apr 2020 16:29:33 +0100 Subject: [PATCH] Revert "Update transactions.js" This reverts commit b99fdf670c6ac0a75c0c82f18802447763d43002. --- screen/wallets/transactions.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/screen/wallets/transactions.js b/screen/wallets/transactions.js index d5b00c3c..0044f2a8 100644 --- a/screen/wallets/transactions.js +++ b/screen/wallets/transactions.js @@ -218,6 +218,15 @@ export default class WalletTransactions extends Component { return ( + {/* + So the idea here, due to Apple banning native Lapp marketplace, is: + On Android everythins works as it worked before. Single "Marketplace" button that leads to LappBrowser that + opens /marketplace/ url of offchain wallet type, and /marketplace-btc/ for onchain is not, but on the details. + On iOS its more complicated - we have one button that opens same page _externally_ (in Safari), and second + button that opens actual LappBrowser but with _blank_ page. This is important to not trigger Apple. + Blank page is also the way Trust Wallet does it with Dapp Browser. + For ONCHAIN wallet type no LappBrowser button should be displayed, its Lightning-network specific. + */} {this.state.wallet.getTransactions().length > 0 && this.state.wallet.type !== LightningCustodianWallet.type && this.renderSellFiat()}