Skip to content

Commit

Permalink
removed setNegativeButton
Browse files Browse the repository at this point in the history
  • Loading branch information
PranshulGG authored Dec 23, 2024
1 parent 74e5d05 commit d145e51
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,15 +81,8 @@ private fun showBiometricOrPinPrompt(
BiometricManager.Authenticators.BIOMETRIC_STRONG or
BiometricManager.Authenticators.DEVICE_CREDENTIAL
)
setNegativeButton(
context.getString(R.string.cancel),
context.mainExecutor
) { _, _ ->
onFailure.invoke()
}
}
.build()

val cipher =
if (isForDecrypt) {
getInitializedCipherForDecryption(iv = cipherIv!!)
Expand Down

0 comments on commit d145e51

Please sign in to comment.