CAKE-336 | updated local_auth package and fixed isAuthenticated() method in the biometric_auth.dart

wownero
OleksandrSobol 3 years ago
parent fddb2fd5c5
commit b1cda20987

@ -7,7 +7,7 @@ class BiometricAuth {
Future<bool> isAuthenticated() async {
try {
return await _localAuth.authenticateWithBiometrics(
return await _localAuth.authenticate(
localizedReason: S.current.biometric_auth_reason,
useErrorDialogs: true,
stickyAuth: false);

@ -565,7 +565,7 @@ packages:
name: local_auth
url: "https://pub.dartlang.org"
source: hosted
version: "1.1.1"
version: "1.1.6"
logging:
dependency: transitive
description:

@ -49,7 +49,7 @@ dependencies:
path: ./cw_monero
hive: ^1.4.4+1
hive_flutter: ^0.3.1
local_auth: ^1.1.1
local_auth: ^1.1.6
package_info: ^2.0.0
devicelocale: ^0.4.1
auto_size_text: ^2.1.0

Loading…
Cancel
Save