opt.: ios / watch

This commit is contained in:
lollipopkit
2023-09-17 00:26:44 +08:00
parent cf943bf41f
commit 1edd54b4df
8 changed files with 106 additions and 101 deletions

View File

@@ -18,6 +18,7 @@ class BioAuth {
return false;
}
final biometrics = await _auth.getAvailableBiometrics();
/// [biometrics] on Android and Windows is returned with error
/// Handle it specially
if (isAndroid | isWindows) return biometrics.isNotEmpty;