mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-02-23 23:27:26 +01:00
Update pleaseBackupLNDHub.js
This commit is contained in:
parent
b318b20856
commit
488ac7cc11
1 changed files with 1 additions and 4 deletions
|
@ -47,9 +47,6 @@ const PleaseBackupLNDHub = () => {
|
|||
};
|
||||
}, [handleBackButton]);
|
||||
|
||||
const secret =
|
||||
wallet.getBaseURI() === LightningCustodianWallet.defaultBaseUri ? wallet.secret : `${wallet.secret}@${wallet.getBaseURI()}`;
|
||||
|
||||
const pop = () => navigation.dangerouslyGetParent().pop();
|
||||
return (
|
||||
<SafeBlueArea style={styles.root}>
|
||||
|
@ -73,7 +70,7 @@ const PleaseBackupLNDHub = () => {
|
|||
ecl="H"
|
||||
/>
|
||||
</View>
|
||||
<BlueCopyTextToClipboard text={secret} />
|
||||
<BlueCopyTextToClipboard text={wallet.getSecret()} />
|
||||
<BlueSpacing20 />
|
||||
<BlueButton onPress={pop} title={loc.pleasebackup.ok_lnd} />
|
||||
</ScrollView>
|
||||
|
|
Loading…
Add table
Reference in a new issue