new: cpu view settings

This commit is contained in:
lollipopkit
2024-04-12 23:53:37 +08:00
parent 39cd8ff63e
commit b989953b7a
15 changed files with 150 additions and 19 deletions

View File

@@ -27,7 +27,7 @@ abstract final class BioAuth {
/// [biometrics] on Android and Windows is returned with error
/// Handle it specially
if (isAndroid | isWindows) return biometrics.isNotEmpty;
if (isAndroid || isWindows) return biometrics.isNotEmpty;
return biometrics.contains(BiometricType.face) ||
biometrics.contains(BiometricType.fingerprint);
}