Fix: Fixed locked apps

Signed-off-by: HeCodes2Much <wayne6324@gmail.com>
This commit is contained in:
HeCodes2Much
2024-05-30 08:24:28 +01:00
parent 860c6d0d79
commit 1e0d7755c6

View File

@@ -47,7 +47,6 @@ class FingerprintHelper @Inject constructor(private val fragment: Fragment) {
.setTitle(fragment.getString(R.string.authentication_title)) .setTitle(fragment.getString(R.string.authentication_title))
.setSubtitle(fragment.getString(R.string.authentication_subtitle)) .setSubtitle(fragment.getString(R.string.authentication_subtitle))
.setAllowedAuthenticators(BiometricManager.Authenticators.BIOMETRIC_WEAK or BiometricManager.Authenticators.DEVICE_CREDENTIAL) .setAllowedAuthenticators(BiometricManager.Authenticators.BIOMETRIC_WEAK or BiometricManager.Authenticators.DEVICE_CREDENTIAL)
.setNegativeButtonText(fragment.getString(R.string.authentication_cancel))
.build() .build()
val canAuthenticate = BiometricManager.from(fragment.requireContext()) val canAuthenticate = BiometricManager.from(fragment.requireContext())