Fix crashing when clicking the search icon (#6128)
This commit is contained in:
parent
ebc2c4f73a
commit
3800065230
1 changed files with 3 additions and 3 deletions
|
@ -31,9 +31,9 @@ class SettingsSecurityController : SettingsController() {
|
|||
defaultValue = false
|
||||
|
||||
requireAuthentication(
|
||||
activity as? FragmentActivity,
|
||||
activity!!.getString(R.string.lock_with_biometrics),
|
||||
activity!!.getString(R.string.confirm_lock_change),
|
||||
context as? FragmentActivity,
|
||||
context!!.getString(R.string.lock_with_biometrics),
|
||||
context.getString(R.string.confirm_lock_change),
|
||||
)
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue