mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2024-11-19 18:00:17 +01:00
parent
a9e706422f
commit
20d53d1d54
@ -224,7 +224,7 @@ const ReceiveDetails = () => {
|
||||
if (wallet) {
|
||||
if (!wallet.getUserHasSavedExport()) {
|
||||
BlueAlertWalletExportReminder({
|
||||
onSuccess: () => obtainWalletAddress(),
|
||||
onSuccess: obtainWalletAddress,
|
||||
onFailure: () => {
|
||||
goBack();
|
||||
navigate('WalletExport', {
|
||||
@ -274,7 +274,6 @@ const ReceiveDetails = () => {
|
||||
break;
|
||||
}
|
||||
setBip21encoded(DeeplinkSchemaMatch.bip21encode(address, { amount, label: customLabel }));
|
||||
setShowAddress(true);
|
||||
};
|
||||
|
||||
const renderCustomAmountModal = () => {
|
||||
@ -339,7 +338,8 @@ const ReceiveDetails = () => {
|
||||
url={`https://blockstream.info/address/${address}`}
|
||||
/>
|
||||
)}
|
||||
{showAddress ? renderReceiveDetails() : <BlueLoadingHook />}
|
||||
{showAddress && renderReceiveDetails()}
|
||||
{!showAddress && <BlueLoadingHook />}
|
||||
</View>
|
||||
);
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user