Revert "fix lint"

This reverts commit 07541438b7.
This commit is contained in:
Overtorment 2020-04-29 16:29:33 +01:00
parent 999cc1f163
commit 893279a884
2 changed files with 2 additions and 4 deletions

View file

@ -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';

View file

@ -227,9 +227,7 @@ 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.getTransactions().length > 0 && this.state.wallet.type !== LightningCustodianWallet.type && this.renderSellFiat()}
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>