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, BlueCopyTextToClipboard,
BlueNavigationStyle, BlueNavigationStyle,
BlueSpacing20, BlueSpacing20,
BlueBigCheckmark BlueBigCheckmark,
} from '../../BlueComponents'; } from '../../BlueComponents';
import PropTypes from 'prop-types'; import PropTypes from 'prop-types';
import ReactNativeHapticFeedback from 'react-native-haptic-feedback'; 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. 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. 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 && this.renderMarketplaceButton()}
{this.state.wallet.type === LightningCustodianWallet.type && Platform.OS === 'ios' && this.renderLappBrowserButton()} {this.state.wallet.type === LightningCustodianWallet.type && Platform.OS === 'ios' && this.renderLappBrowserButton()}
</View> </View>

Loading…
Cancel
Save