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

1
screen/wallets/transactions.js

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

1
tests/e2e/bluewallet.spec.js

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

Loading…
Cancel
Save