fix: device unlock #1682

This commit is contained in:
J-Jamet
2023-11-06 23:47:31 +01:00
parent fcd9af8f84
commit 238fab3e1d

View File

@@ -234,7 +234,7 @@ class MainCredentialActivity : DatabaseModeActivity(), AdvancedUnlockFragment.Bu
super.onResume()
// Init Biometric elements only if allowed
if (PreferencesUtil.isBiometricUnlockEnable(this)) {
if (PreferencesUtil.isAdvancedUnlockEnable(this)) {
advancedUnlockFragment = supportFragmentManager
.findFragmentByTag(UNLOCK_FRAGMENT_TAG) as? AdvancedUnlockFragment?
if (advancedUnlockFragment == null) {