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

This commit is contained in:
OleksandrSobol 2021-06-03 20:59:12 +03:00
parent fddb2fd5c5
commit b1cda20987
3 changed files with 3 additions and 3 deletions

View file

@ -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);

View file

@ -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:

View file

@ -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