Skip to content
This repository has been archived by the owner on Oct 15, 2024. It is now read-only.

Commit

Permalink
formatting fixed (ktfmtFormat)
Browse files Browse the repository at this point in the history
  • Loading branch information
agrahn committed Aug 3, 2024
1 parent e418db3 commit 7d7856a
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 -> {
Expand Down

0 comments on commit 7d7856a

Please sign in to comment.