Browse Source

fix lint

master
ncoelho 5 years ago
committed by Overtorment
parent
commit
2132d0d0bc
  1. 2
      screen/lnd/lndViewInvoice.js
  2. 4
      screen/wallets/transactions.js

2
screen/lnd/lndViewInvoice.js

@ -9,7 +9,7 @@ import {
BlueCopyTextToClipboard,
BlueNavigationStyle,
BlueSpacing20,
BlueBigCheckmark
BlueBigCheckmark,
} from '../../BlueComponents';
import PropTypes from 'prop-types';
import ReactNativeHapticFeedback from 'react-native-haptic-feedback';

4
screen/wallets/transactions.js

@ -227,7 +227,9 @@ export default class WalletTransactions extends Component {
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()}
{this.state.wallet.getTransactions().length > 0 &&
this.state.wallet.type !== LightningCustodianWallet.type &&
this.renderSellFiat()}
{this.state.wallet.type === LightningCustodianWallet.type && this.renderMarketplaceButton()}
{this.state.wallet.type === LightningCustodianWallet.type && Platform.OS === 'ios' && this.renderLappBrowserButton()}
</View>

Loading…
Cancel
Save