Browse Source

fix lint

snyk-fix-84644e4a03e171e392ba652f3dc364b5
ncoelho 5 years ago
committed by Overtorment
parent
commit
0337b0ad2f
  1. 11
      screen/wallets/export.js

11
screen/wallets/export.js

@ -69,12 +69,9 @@ export default class WalletExport extends Component {
return ( return (
<SafeBlueArea style={{ flex: 1 }}> <SafeBlueArea style={{ flex: 1 }}>
<ScrollView <ScrollView contentContainerStyle={{ alignItems: 'center', justifyContent: 'center', flexGrow: 1 }} onLayout={this.onLayout}>
contentContainerStyle={{ alignItems: 'center', justifyContent: 'center', flexGrow: 1 }}
onLayout={this.onLayout}
>
<View> <View>
<BlueText style={{ fontSize: 17, fontWeight: "700", color: "#0c2550" }}>{this.state.wallet.typeReadable}</BlueText> <BlueText style={{ fontSize: 17, fontWeight: '700', color: '#0c2550' }}>{this.state.wallet.typeReadable}</BlueText>
</View> </View>
{(() => { {(() => {
@ -102,7 +99,9 @@ export default class WalletExport extends Component {
{this.state.wallet.type === LightningCustodianWallet.type ? ( {this.state.wallet.type === LightningCustodianWallet.type ? (
<BlueCopyTextToClipboard text={this.state.wallet.getSecret()} /> <BlueCopyTextToClipboard text={this.state.wallet.getSecret()} />
) : ( ) : (
<BlueText style={{ alignItems: 'center', paddingHorizontal: 16, fontSize: 16, color: "#0C2550", lineHeight: 24 }}>{this.state.wallet.getSecret()}</BlueText> <BlueText style={{ alignItems: 'center', paddingHorizontal: 16, fontSize: 16, color: '#0C2550', lineHeight: 24 }}>
{this.state.wallet.getSecret()}
</BlueText>
)} )}
</ScrollView> </ScrollView>
</SafeBlueArea> </SafeBlueArea>

Loading…
Cancel
Save