mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-02-24 23:38:57 +01:00
Update components/CompanionDelegates.tsx
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
This commit is contained in:
parent
f8b2db33cc
commit
823e63bf75
1 changed files with 10 additions and 2 deletions
|
@ -208,15 +208,23 @@ const CompanionDelegates = () => {
|
||||||
console.error('Error detecting QR code:', error);
|
console.error('Error detecting QR code:', error);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
triggerHapticFeedback(HapticFeedbackTypes.NotificationSuccess);
|
|
||||||
DeeplinkSchemaMatch.navigationRouteFor(event, (value: [string, any]) => navigationRef.navigate(...value), {
|
DeeplinkSchemaMatch.navigationRouteFor(event, (value: [string, any]) => navigationRef.navigate(...value), {
|
||||||
wallets,
|
wallets,
|
||||||
addWallet,
|
addWallet,
|
||||||
saveToDisk,
|
saveToDisk,
|
||||||
setSharedCosigner,
|
setSharedCosigner,
|
||||||
|
})
|
||||||
|
.then(() => {
|
||||||
|
triggerHapticFeedback(HapticFeedbackTypes.NotificationSuccess);
|
||||||
|
})
|
||||||
|
.catch(error => {
|
||||||
|
console.error('Error processing URL:', error);
|
||||||
|
triggerHapticFeedback(HapticFeedbackTypes.NotificationError);
|
||||||
|
presentAlert({ message: loc.send.invalid_url });
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
[wallets, addWallet, saveToDisk, setSharedCosigner],
|
[wallets, addWallet, saveToDisk, setSharedCosigner],
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Reference in a new issue