Updated text

pull/157/head
M66B 6 years ago
parent 2e697cfa4d
commit 7d60483274

@ -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 @Override
public void run() { public void run() {
drawerLayout.closeDrawer(drawerContainer); drawerLayout.closeDrawer(drawerContainer);

@ -686,10 +686,10 @@ public class Helper {
.setTitle(activity.getString(enabled == null ? R.string.app_name : R.string.title_setup_biometrics)) .setTitle(activity.getString(enabled == null ? R.string.app_name : R.string.title_setup_biometrics))
.setNegativeButtonText(activity.getString(android.R.string.cancel)); .setNegativeButtonText(activity.getString(android.R.string.cancel));
if (enabled != null) info.setSubtitle(activity.getString(enabled == null ? R.string.title_setup_biometrics_unlock
info.setSubtitle(activity.getString(enabled : enabled
? R.string.title_setup_biometrics_disable ? R.string.title_setup_biometrics_disable
: R.string.title_setup_biometrics_enable)); : R.string.title_setup_biometrics_enable));
BiometricPrompt prompt = new BiometricPrompt(activity, executor, BiometricPrompt prompt = new BiometricPrompt(activity, executor,
new BiometricPrompt.AuthenticationCallback() { new BiometricPrompt.AuthenticationCallback() {

@ -150,9 +150,11 @@
<string name="title_setup_reorder_accounts">Order accounts</string> <string name="title_setup_reorder_accounts">Order accounts</string>
<string name="title_setup_reorder_folders">Order folders</string> <string name="title_setup_reorder_folders">Order folders</string>
<string name="title_reset_order">Reset order</string> <string name="title_reset_order">Reset order</string>
<string name="title_setup_authentication">Authentication</string>
<string name="title_setup_biometrics">Biometric authentication</string> <string name="title_setup_biometrics">Biometric authentication</string>
<string name="title_setup_biometrics_enable">Enable</string> <string name="title_setup_biometrics_enable">Enable</string>
<string name="title_setup_biometrics_disable">Disable</string> <string name="title_setup_biometrics_disable">Disable</string>
<string name="title_setup_biometrics_unlock">Unlock</string>
<string name="title_setup_theme">Select theme</string> <string name="title_setup_theme">Select theme</string>
<string name="title_setup_light_theme">Light theme</string> <string name="title_setup_light_theme">Light theme</string>
<string name="title_setup_dark_theme">Dark theme</string> <string name="title_setup_dark_theme">Dark theme</string>

Loading…
Cancel
Save