Fix crashing when clicking the search icon (#6128)
(cherry picked from commit 38000652306e866e0ad50e380a840120774872da)
This commit is contained in:
parent
62c0f50314
commit
5802bf7626
@ -42,9 +42,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…
x
Reference in New Issue
Block a user