mirror of
https://github.com/element-hq/element-android
synced 2024-11-24 10:25:35 +03:00
Fix crash on PIN code settings screen
This commit is contained in:
parent
318352f1bd
commit
3ef3e3760d
2 changed files with 4 additions and 1 deletions
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 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 {
|
||||
findPreference<SwitchPreference>(VectorPreferences.SETTINGS_SECURITY_USE_PIN_CODE_FLAG)!!
|
||||
|
|
Loading…
Reference in a new issue