Minor cleanup
(cherry picked from commit bfe7aa1ed21e1fd789db5a330dba51c622666377)
This commit is contained in:
parent
5bf424af40
commit
7849c7970e
@ -123,8 +123,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),
|
||||
)
|
||||
}
|
||||
}
|
||||
|
@ -42,8 +42,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),
|
||||
)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user