aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java
diff options
context:
space:
mode:
authorHarsh Shandilya <msfjarvis@gmail.com>2019-10-27 18:20:29 +0530
committerHarsh Shandilya <msfjarvis@gmail.com>2019-10-27 18:21:19 +0530
commit5df7be10b5f30dce68a23eb55f1dae9edc0263c0 (patch)
tree9c88ce54016c3be5c6d790eff74f44e24ee56b93 /app/src/main/java
parentcdf45bc323bd21eeb6252c9d9b70a990f7b39b75 (diff)
Authenticator: Allow using PIN/password/pattern as fallbacks
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
Diffstat (limited to 'app/src/main/java')
-rw-r--r--app/src/main/java/com/zeapo/pwdstore/utils/auth/Authenticator.kt2
1 files changed, 1 insertions, 1 deletions
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() {