From 886f7a6f3cdcf9d5abd923d71edebb331fd85321 Mon Sep 17 00:00:00 2001 From: OmarHatem Date: Fri, 29 Mar 2024 23:14:25 +0200 Subject: [PATCH] minor fix --- lib/core/auth_service.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/core/auth_service.dart b/lib/core/auth_service.dart index c494928fc..e9ace30f1 100644 --- a/lib/core/auth_service.dart +++ b/lib/core/auth_service.dart @@ -66,7 +66,7 @@ class AuthService with Store { Future 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;