mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-25 03:56:01 +00:00
minor fix
This commit is contained in:
parent
f92c09a28c
commit
886f7a6f3c
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ class AuthService with Store {
|
|||
|
||||
Future<bool> authenticate(String pin) async {
|
||||
final key = generateStoreKeyFor(key: SecretStoreKey.pinCodePassword);
|
||||
final encodedPin = await secureStorage.read(secureStorage, key);
|
||||
final encodedPin = await secureStorage.read(key: key);
|
||||
final decodedPin = decodedPinCode(pin: encodedPin!);
|
||||
|
||||
return decodedPin == pin;
|
||||
|
|
Loading…
Reference in a new issue