Skip to content

Commit

Permalink
Revert "Update transactions.js"
Browse files Browse the repository at this point in the history
This reverts commit b99fdf6.
  • Loading branch information
Overtorment committed Apr 29, 2020
1 parent b99fdf6 commit 999cc1f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions screen/wallets/transactions.js
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,15 @@ export default class WalletTransactions extends Component {
return (
<View style={{ flex: 1 }}>
<View style={{ flexDirection: 'row', margin: 16, justifyContent: 'space-evenly' }}>
{/*
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()}
Expand Down

0 comments on commit 999cc1f

Please sign in to comment.