mirror of https://github.com/m2049r/xmrwallet.git
focus on password if no fingerprint (#587)
This commit is contained in:
parent
525b38ff53
commit
e8860ab8eb
|
@ -556,6 +556,8 @@ public class Helper {
|
||||||
tvOpenPrompt.setText(context.getText(R.string.prompt_fingerprint_auth));
|
tvOpenPrompt.setText(context.getText(R.string.prompt_fingerprint_auth));
|
||||||
tvOpenPrompt.setVisibility(View.VISIBLE);
|
tvOpenPrompt.setVisibility(View.VISIBLE);
|
||||||
FingerprintHelper.authenticate(context, cancelSignal, fingerprintAuthCallback);
|
FingerprintHelper.authenticate(context, cancelSignal, fingerprintAuthCallback);
|
||||||
|
} else {
|
||||||
|
etPassword.requestFocus();
|
||||||
}
|
}
|
||||||
Button button = ((AlertDialog) dialog).getButton(AlertDialog.BUTTON_POSITIVE);
|
Button button = ((AlertDialog) dialog).getButton(AlertDialog.BUTTON_POSITIVE);
|
||||||
button.setOnClickListener(new View.OnClickListener() {
|
button.setOnClickListener(new View.OnClickListener() {
|
||||||
|
|
Loading…
Reference in New Issue