Minor cleanup

This commit is contained in:
arkon 2021-10-18 10:02:25 -04:00
parent 9e2ef82902
commit bfe7aa1ed2
2 changed files with 4 additions and 4 deletions

View file

@ -58,8 +58,8 @@ class SettingsBrowseController : SettingsController() {
if (context.isAuthenticationSupported() && activity != null) {
requireAuthentication(
activity as? FragmentActivity,
activity!!.getString(R.string.pref_category_nsfw_content),
activity!!.getString(R.string.confirm_lock_change),
context.getString(R.string.pref_category_nsfw_content),
context.getString(R.string.confirm_lock_change),
)
}
}

View file

@ -31,8 +31,8 @@ class SettingsSecurityController : SettingsController() {
defaultValue = false
requireAuthentication(
context as? FragmentActivity,
context!!.getString(R.string.lock_with_biometrics),
activity as? FragmentActivity,
context.getString(R.string.lock_with_biometrics),
context.getString(R.string.confirm_lock_change),
)
}