diff --git a/app/src/main/java/com/beemdevelopment/aegis/ui/AuthActivity.java b/app/src/main/java/com/beemdevelopment/aegis/ui/AuthActivity.java index 447f939e..b77c9eba 100644 --- a/app/src/main/java/com/beemdevelopment/aegis/ui/AuthActivity.java +++ b/app/src/main/java/com/beemdevelopment/aegis/ui/AuthActivity.java @@ -162,7 +162,16 @@ public class AuthActivity extends AegisActivity { }); biometricsButton.setOnClickListener(v -> { - showBiometricPrompt(); + if (_prefs.isPasswordReminderNeeded()) { + Dialogs.showSecureDialog(new AlertDialog.Builder(this) + .setTitle(getString(R.string.password_reminder_dialog_title)) + .setMessage(getString(R.string.password_reminder_dialog_message)) + .setCancelable(false) + .setPositiveButton(android.R.string.ok, (dialog1, which) -> { + showBiometricPrompt(); + }) + .create()); + } }); } diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 83490e41..e9d65adb 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -138,7 +138,9 @@ Please confirm the password The password is incorrect A change in your device\'s security settings has been detected. Please go to \"Aegis -> Settings -> Security -> Biometric unlock\" to disable and re-enable biometric unlock. - Please enter your password. We occasionally ask you to do this so that don\'t forget it. + Please enter your password. We occasionally ask you to do this so that you don\'t forget it. + Biometric unlock by default + We occasionally prompt you to enter your password instead to ensure you haven\'t forgotten it and won\'t get locked out of your vault. After entering your password once, Aegis will default back to biometric unlock until it\'s time for another password reminder. Never Weekly Biweekly