mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-11-16 17:27:37 +00:00
remove comment and change duration from 2 to 0
This commit is contained in:
parent
08c992654c
commit
6a93877bbb
1 changed files with 1 additions and 2 deletions
|
@ -18,8 +18,7 @@ class BiometricAuth {
|
|||
bool canAuthenticate;
|
||||
try {
|
||||
canAuthenticate = await _flutterLocalAuthenticationPlugin.canAuthenticate();
|
||||
// Setup TouchID Allowable Reuse duration
|
||||
await _flutterLocalAuthenticationPlugin.setTouchIDAuthenticationAllowableReuseDuration(2);
|
||||
await _flutterLocalAuthenticationPlugin.setTouchIDAuthenticationAllowableReuseDuration(0);
|
||||
} catch (error) {
|
||||
print("Exception checking support. $error");
|
||||
canAuthenticate = false;
|
||||
|
|
Loading…
Reference in a new issue