mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-03-13 19:16:52 +01:00
Update ScanQRCode.js
This commit is contained in:
parent
2ccd73e2f1
commit
73637a9ff6
1 changed files with 1 additions and 10 deletions
|
@ -335,16 +335,7 @@ const ScanQRCode = () => {
|
|||
};
|
||||
|
||||
const dismiss = () => {
|
||||
if (launchedBy) {
|
||||
let merge = true;
|
||||
if (typeof onBarScanned !== 'function') {
|
||||
merge = false;
|
||||
}
|
||||
navigation.navigate({ name: launchedBy, params: {}, merge });
|
||||
} else {
|
||||
navigation.goBack();
|
||||
}
|
||||
if (onDismiss) onDismiss();
|
||||
navigation.goBack();
|
||||
};
|
||||
|
||||
const render = isLoading ? (
|
||||
|
|
Loading…
Add table
Reference in a new issue