Fix: Fixed locked apps
Signed-off-by: HeCodes2Much <wayne6324@gmail.com>
This commit is contained in:
@@ -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())
|
||||||
|
|||||||
Reference in New Issue
Block a user