diff --git a/app/src/main/java/eu/faircode/email/ActivitySetup.java b/app/src/main/java/eu/faircode/email/ActivitySetup.java index 3a19255f66..e0f4e30b8d 100644 --- a/app/src/main/java/eu/faircode/email/ActivitySetup.java +++ b/app/src/main/java/eu/faircode/email/ActivitySetup.java @@ -201,7 +201,7 @@ public class ActivitySetup extends ActivityBase implements FragmentManager.OnBac } })); - menus.add(new NavMenuItem(R.drawable.baseline_fingerprint_24, R.string.title_setup_biometrics, new Runnable() { + menus.add(new NavMenuItem(R.drawable.baseline_fingerprint_24, R.string.title_setup_authentication, new Runnable() { @Override public void run() { drawerLayout.closeDrawer(drawerContainer); diff --git a/app/src/main/java/eu/faircode/email/Helper.java b/app/src/main/java/eu/faircode/email/Helper.java index 70a9053164..7ff868e7e2 100644 --- a/app/src/main/java/eu/faircode/email/Helper.java +++ b/app/src/main/java/eu/faircode/email/Helper.java @@ -686,10 +686,10 @@ public class Helper { .setTitle(activity.getString(enabled == null ? R.string.app_name : R.string.title_setup_biometrics)) .setNegativeButtonText(activity.getString(android.R.string.cancel)); - if (enabled != null) - info.setSubtitle(activity.getString(enabled - ? R.string.title_setup_biometrics_disable - : R.string.title_setup_biometrics_enable)); + info.setSubtitle(activity.getString(enabled == null ? R.string.title_setup_biometrics_unlock + : enabled + ? R.string.title_setup_biometrics_disable + : R.string.title_setup_biometrics_enable)); BiometricPrompt prompt = new BiometricPrompt(activity, executor, new BiometricPrompt.AuthenticationCallback() { diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index cdfb899ca6..f776c010bf 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -150,9 +150,11 @@ Order accounts Order folders Reset order + Authentication Biometric authentication Enable Disable + Unlock Select theme Light theme Dark theme