Fix crashing when clicking the search icon (#6128)
This commit is contained in:
parent
ebc2c4f73a
commit
3800065230
@ -31,9 +31,9 @@ class SettingsSecurityController : SettingsController() {
|
|||||||
defaultValue = false
|
defaultValue = false
|
||||||
|
|
||||||
requireAuthentication(
|
requireAuthentication(
|
||||||
activity as? FragmentActivity,
|
context as? FragmentActivity,
|
||||||
activity!!.getString(R.string.lock_with_biometrics),
|
context!!.getString(R.string.lock_with_biometrics),
|
||||||
activity!!.getString(R.string.confirm_lock_change),
|
context.getString(R.string.confirm_lock_change),
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user