From f86b4ac1071fc3d0ed698d3c9848b6d59b47d569 Mon Sep 17 00:00:00 2001 From: Jef Date: Sat, 21 Sep 2024 13:57:53 +0200 Subject: [PATCH] Fix typo in Flutter to iOS reuse duration parameter name (#125) --- macos/Classes/BiometricStorageImpl.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/macos/Classes/BiometricStorageImpl.swift b/macos/Classes/BiometricStorageImpl.swift index 1cc1869..586eebe 100644 --- a/macos/Classes/BiometricStorageImpl.swift +++ b/macos/Classes/BiometricStorageImpl.swift @@ -14,7 +14,7 @@ struct StorageMethodCall { class InitOptions { init(params: [String: Any]) { - darwinTouchIDAuthenticationAllowableReuseDuration = params["drawinTouchIDAuthenticationAllowableReuseDurationSeconds"] as? Int + darwinTouchIDAuthenticationAllowableReuseDuration = params["darwinTouchIDAuthenticationAllowableReuseDurationSeconds"] as? Int darwinTouchIDAuthenticationForceReuseContextDuration = params["darwinTouchIDAuthenticationForceReuseContextDurationSeconds"] as? Int authenticationRequired = params["authenticationRequired"] as? Bool darwinBiometricOnly = params["darwinBiometricOnly"] as? Bool