diff --git a/app/src/main/java/app/passwordstore/ui/settings/PGPSettings.kt b/app/src/main/java/app/passwordstore/ui/settings/PGPSettings.kt index 69943176b..60c9929b0 100644 --- a/app/src/main/java/app/passwordstore/ui/settings/PGPSettings.kt +++ b/app/src/main/java/app/passwordstore/ui/settings/PGPSettings.kt @@ -48,8 +48,10 @@ class PGPSettings( defaultValue = false onClick { if (BiometricAuthenticator.canAuthenticate(activity)) { - val promptTitle = if (checked) R.string.pref_passphrase_cache_authenticate_enable else R.string.pref_passphrase_cache_authenticate_disable - + val promptTitle = + if (checked) R.string.pref_passphrase_cache_authenticate_enable + else R.string.pref_passphrase_cache_authenticate_disable + BiometricAuthenticator.authenticate(activity, promptTitle) { result -> when (result) { is BiometricAuthenticator.Result.Success -> {