Update details.js

This commit is contained in:
Marcos Rodriguez Velez 2023-10-17 09:47:28 -04:00
parent 77687e3ac0
commit d78391a51a
No known key found for this signature in database
GPG Key ID: 6030B2F48CCE86D7

View File

@ -41,7 +41,7 @@ import InputAccessoryAllFunds from '../../components/InputAccessoryAllFunds';
import { AbstractHDElectrumWallet } from '../../class/wallets/abstract-hd-electrum-wallet';
import { BlueStorageContext } from '../../blue_modules/storage-context';
import ToolTipMenu from '../../components/TooltipMenu';
import { requestCameraAuthorization } from '../../helpers/scan-qr';
import { requestCameraAuthorization, scanQrHelper } from '../../helpers/scan-qr';
const currency = require('../../blue_modules/currency');
const prompt = require('../../helpers/prompt');
const fs = require('../../blue_modules/fs');
@ -812,7 +812,7 @@ const SendDetails = () => {
setIsLoading(true);
setOptionsVisible(false);
await new Promise(resolve => setTimeout(resolve, 100)); // sleep for animations
const scannedData = await scanqr(navigation.navigate, name);
const scannedData = await scanQrHelper(navigation.navigate, name);
if (!scannedData) return setIsLoading(false);
let tx;