Update scan-qr.ts

This commit is contained in:
Marcos Rodriguez Velez 2024-07-14 22:57:49 -04:00
parent 413f7b457f
commit 56abe3af5f
No known key found for this signature in database
GPG Key ID: 6030B2F48CCE86D7

View File

@ -2,7 +2,6 @@ import { Platform } from 'react-native';
import { check, request, PERMISSIONS, RESULTS } from 'react-native-permissions';
import { navigationRef } from '../NavigationService';
import { NavigationProp } from '@react-navigation/native';
import { TrueSheet } from '@lodev09/react-native-true-sheet';
/**
* Helper function that navigates to ScanQR screen, and returns promise that will resolve with the result of a scan,
* and then navigates back. If QRCode scan was closed, promise resolves to null.