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
+1 -1
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);