Merge pull request #7326 from BlueWallet/clip

FIX: Clipboard shortcut was broken
This commit is contained in:
GLaDOS 2024-11-19 14:11:07 +00:00 committed by GitHub
commit 1450053124
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -206,15 +206,14 @@ const CompanionDelegates = () => {
} catch (error) {
console.error('Error detecting QR code:', error);
}
} else {
DeeplinkSchemaMatch.navigationRouteFor(event, (value: [string, any]) => navigationRef.navigate(...value), {
wallets,
addWallet,
saveToDisk,
setSharedCosigner,
});
}
} else {
triggerHapticFeedback(HapticFeedbackTypes.NotificationSuccess);
DeeplinkSchemaMatch.navigationRouteFor(event, (value: [string, any]) => navigationRef.navigate(...value), {
wallets,
addWallet,
saveToDisk,
setSharedCosigner,
});
}
},
[wallets, addWallet, saveToDisk, setSharedCosigner],