Fix crash on PIN code settings screen
This commit is contained in:
parent
318352f1bd
commit
3ef3e3760d
1
changelog.d/6979.bugfix
Normal file
1
changelog.d/6979.bugfix
Normal file
@ -0,0 +1 @@
|
|||||||
|
Fix crash on PIN code settings screen.
|
@ -50,7 +50,9 @@ class VectorSettingsPinFragment :
|
|||||||
override var titleRes = R.string.settings_security_application_protection_screen_title
|
override var titleRes = R.string.settings_security_application_protection_screen_title
|
||||||
override val preferenceXmlRes = R.xml.vector_settings_pin
|
override val preferenceXmlRes = R.xml.vector_settings_pin
|
||||||
|
|
||||||
private val biometricHelper = biometricHelperFactory.create(defaultLockScreenConfiguration.copy(mode = LockScreenMode.CREATE))
|
private val biometricHelper by lazy {
|
||||||
|
biometricHelperFactory.create(defaultLockScreenConfiguration.copy(mode = LockScreenMode.CREATE))
|
||||||
|
}
|
||||||
|
|
||||||
private val usePinCodePref by lazy {
|
private val usePinCodePref by lazy {
|
||||||
findPreference<SwitchPreference>(VectorPreferences.SETTINGS_SECURITY_USE_PIN_CODE_FLAG)!!
|
findPreference<SwitchPreference>(VectorPreferences.SETTINGS_SECURITY_USE_PIN_CODE_FLAG)!!
|
||||||
|
Loading…
x
Reference in New Issue
Block a user