diff --git a/app/src/main/java/com/philkes/notallyx/utils/security/LockUtils.kt b/app/src/main/java/com/philkes/notallyx/utils/security/LockUtils.kt index 61bbe673..a9e0fa0b 100644 --- a/app/src/main/java/com/philkes/notallyx/utils/security/LockUtils.kt +++ b/app/src/main/java/com/philkes/notallyx/utils/security/LockUtils.kt @@ -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!!)