diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsSecurityController.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsSecurityController.kt index 195ab4d21..dcdaf4fb4 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsSecurityController.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsSecurityController.kt @@ -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), ) }