mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
Require screen unlock to disable the security lock feature
also updated some strings to be aligned with upstream 😔 society
This commit is contained in:
parent
4229840dc6
commit
9371b774c2
2 changed files with 3 additions and 3 deletions
|
@ -205,7 +205,7 @@ fun SwitchPreferenceCompat.requireAuthentication(
|
|||
) {
|
||||
onPreferenceChangeListener = Preference.OnPreferenceChangeListener { _, newValue ->
|
||||
newValue as Boolean
|
||||
if (newValue && activity != null && context.isAuthenticationSupported()) {
|
||||
if (activity != null && context.isAuthenticationSupported()) {
|
||||
activity.startAuthentication(
|
||||
title,
|
||||
subtitle,
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
<!-- Security -->
|
||||
<string name="unlock_library">Unlock to access Library</string>
|
||||
<string name="unlock">Unlock</string>
|
||||
<string name="lock_with_biometrics">Lock with biometrics</string>
|
||||
<string name="lock_with_biometrics">Require unlock</string>
|
||||
<string name="lock_when_idle">Lock when idle</string>
|
||||
|
||||
<!-- Chapters -->
|
||||
|
@ -512,7 +512,7 @@
|
|||
<item quantity="other">%1$d pages</item>
|
||||
</plurals>
|
||||
<plurals name="missing_chapters_warning">
|
||||
<item quantity="one">Skipping 1 chapter, either the source is missing it or it has been filtered out</item>
|
||||
<item quantity="one">Skipping %d chapter, either the source is missing it or it has been filtered out</item>
|
||||
<item quantity="other">Skipping %d chapters, either the source is missing them or they have been filtered out</item>
|
||||
</plurals>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue