mirror of
https://github.com/mihonapp/mihon.git
synced 2024-12-27 03:18:25 +01:00
Minor cleanup
This commit is contained in:
parent
9e2ef82902
commit
bfe7aa1ed2
@ -58,8 +58,8 @@ class SettingsBrowseController : SettingsController() {
|
|||||||
if (context.isAuthenticationSupported() && activity != null) {
|
if (context.isAuthenticationSupported() && activity != null) {
|
||||||
requireAuthentication(
|
requireAuthentication(
|
||||||
activity as? FragmentActivity,
|
activity as? FragmentActivity,
|
||||||
activity!!.getString(R.string.pref_category_nsfw_content),
|
context.getString(R.string.pref_category_nsfw_content),
|
||||||
activity!!.getString(R.string.confirm_lock_change),
|
context.getString(R.string.confirm_lock_change),
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -31,8 +31,8 @@ class SettingsSecurityController : SettingsController() {
|
|||||||
defaultValue = false
|
defaultValue = false
|
||||||
|
|
||||||
requireAuthentication(
|
requireAuthentication(
|
||||||
context as? FragmentActivity,
|
activity as? FragmentActivity,
|
||||||
context!!.getString(R.string.lock_with_biometrics),
|
context.getString(R.string.lock_with_biometrics),
|
||||||
context.getString(R.string.confirm_lock_change),
|
context.getString(R.string.confirm_lock_change),
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user