From e8860ab8eb2ca9883262060e9cff3b4d23215f2b Mon Sep 17 00:00:00 2001 From: m2049r Date: Sun, 12 May 2019 00:17:21 +0200 Subject: [PATCH] focus on password if no fingerprint (#587) --- app/src/main/java/com/m2049r/xmrwallet/util/Helper.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/java/com/m2049r/xmrwallet/util/Helper.java b/app/src/main/java/com/m2049r/xmrwallet/util/Helper.java index bc86e020..925e9984 100644 --- a/app/src/main/java/com/m2049r/xmrwallet/util/Helper.java +++ b/app/src/main/java/com/m2049r/xmrwallet/util/Helper.java @@ -556,6 +556,8 @@ public class Helper { tvOpenPrompt.setText(context.getText(R.string.prompt_fingerprint_auth)); tvOpenPrompt.setVisibility(View.VISIBLE); FingerprintHelper.authenticate(context, cancelSignal, fingerprintAuthCallback); + } else { + etPassword.requestFocus(); } Button button = ((AlertDialog) dialog).getButton(AlertDialog.BUTTON_POSITIVE); button.setOnClickListener(new View.OnClickListener() {