Browse Source

REF: lint

master
Overtorment 5 years ago
parent
commit
cccbfb2bb6
  1. 21
      screen/wallets/details.js
  2. 1
      screen/wallets/transactions.js
  3. 1
      tests/e2e/bluewallet.spec.js

21
screen/wallets/details.js

@ -129,13 +129,14 @@ export default class WalletDetails extends Component {
title="Marketplace" title="Marketplace"
/> />
), ),
ios: ios: (
<BlueButton <BlueButton
onPress={async () => { onPress={async () => {
Linking.openURL('https://bluewallet.io/marketplace-btc/'); Linking.openURL('https://bluewallet.io/marketplace-btc/');
}} }}
title="Marketplace" title="Marketplace"
/> />
),
}); });
}; };
@ -268,12 +269,12 @@ export default class WalletDetails extends Component {
{this.renderMarketplaceButton()} {this.renderMarketplaceButton()}
</React.Fragment> </React.Fragment>
)} )}
{(this.state.wallet.type !== LightningCustodianWallet.type && ( {this.state.wallet.type !== LightningCustodianWallet.type && (
<React.Fragment> <React.Fragment>
<BlueSpacing20 /> <BlueSpacing20 />
<BlueButton onPress={() => this.props.navigation.navigate('Broadcast')} title="Broadcast transaction" /> <BlueButton onPress={() => this.props.navigation.navigate('Broadcast')} title="Broadcast transaction" />
</React.Fragment> </React.Fragment>
))} )}
<BlueSpacing20 /> <BlueSpacing20 />
<TouchableOpacity <TouchableOpacity
style={{ alignItems: 'center' }} style={{ alignItems: 'center' }}

1
screen/wallets/transactions.js

@ -332,7 +332,6 @@ export default class WalletTransactions extends Component {
} else { } else {
this.props.navigation.navigate('Marketplace', { fromWallet: this.state.wallet }); this.props.navigation.navigate('Marketplace', { fromWallet: this.state.wallet });
} }
}} }}
style={{ style={{
backgroundColor: '#f2f2f2', backgroundColor: '#f2f2f2',

1
tests/e2e/bluewallet.spec.js

@ -4,7 +4,6 @@ const bitcoin = require('bitcoinjs-lib');
const assert = require('assert'); const assert = require('assert');
describe('BlueWallet UI Tests', () => { describe('BlueWallet UI Tests', () => {
it('selftest passes', async () => { it('selftest passes', async () => {
await waitFor(element(by.id('WalletsList'))) await waitFor(element(by.id('WalletsList')))
.toBeVisible() .toBeVisible()

Loading…
Cancel
Save