call biometricPrompt on UI

This commit is contained in:
Milos Kozak 2021-10-26 14:15:28 +02:00
parent c3a52c5969
commit 10078f1711

View file

@ -72,7 +72,9 @@ object BiometricCheck {
// .setDeviceCredentialAllowed(true) // setDeviceCredentialAllowed creates new activity when PIN is requested, activity.fragmentManager crash afterwards
.build()
runOnUiThread {
biometricPrompt.authenticate(promptInfo)
}
}
}