From 5df7be10b5f30dce68a23eb55f1dae9edc0263c0 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Sun, 27 Oct 2019 18:20:29 +0530 Subject: Authenticator: Allow using PIN/password/pattern as fallbacks Signed-off-by: Harsh Shandilya --- app/src/main/java/com/zeapo/pwdstore/utils/auth/Authenticator.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/src/main/java/com') diff --git a/app/src/main/java/com/zeapo/pwdstore/utils/auth/Authenticator.kt b/app/src/main/java/com/zeapo/pwdstore/utils/auth/Authenticator.kt index 6e7f82d7..71e5df54 100644 --- a/app/src/main/java/com/zeapo/pwdstore/utils/auth/Authenticator.kt +++ b/app/src/main/java/com/zeapo/pwdstore/utils/auth/Authenticator.kt @@ -47,7 +47,7 @@ internal class Authenticator( private val promptInfo = BiometricPrompt.PromptInfo.Builder() .setTitle(fragmentActivity.getString(R.string.biometric_prompt_title)) - .setNegativeButtonText(fragmentActivity.getString(R.string.biometric_prompt_negative_text)) + .setDeviceCredentialAllowed(true) .build() fun authenticate() { -- cgit v1.2.3