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