Fix crashing when clicking the search icon (#6128)

This commit is contained in:
Midyan Hamdoun 2021-10-18 16:57:52 +03:00 committed by GitHub
parent ebc2c4f73a
commit 3800065230
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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),
)
}