mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2024-11-19 09:50:15 +01:00
FIX: correct merge of params when navigating between screens
This commit is contained in:
parent
dfd5f37224
commit
5b40159c08
@ -58,7 +58,7 @@ const PsbtMultisigQRCode = () => {
|
||||
alert(loc.wallets.import_error);
|
||||
} else {
|
||||
// psbt base64?
|
||||
navigate('PsbtMultisig', { receivedPSBTBase64: ret.data }, { merge: true });
|
||||
navigate({ name: 'PsbtMultisig', params: { receivedPSBTBase64: ret.data }, merge: true });
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -77,7 +77,7 @@ const PsbtWithHardwareWallet = () => {
|
||||
if (launchedBy) {
|
||||
// we must navigate back to the screen who requested psbt (instead of broadcasting it ourselves)
|
||||
// most likely for LN channel opening
|
||||
navigation.navigate(launchedBy, { psbt }, { merge: true });
|
||||
navigation.navigate({ name: launchedBy, params: { psbt }, merge: true });
|
||||
// ^^^ we just use `psbt` variable sinse it was finalized in the above _combinePSBT()
|
||||
// (passed by reference)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user