mirror of
https://github.com/geometer/FBReaderJ.git
synced 2025-10-05 02:39:23 +02:00
clear password field in case of authentication failure
This commit is contained in:
parent
831bec7bc3
commit
cd2d4afffb
1 changed files with 1 additions and 0 deletions
|
@ -221,6 +221,7 @@ public class AuthenticationActivity extends Activity {
|
||||||
if (error != null && !"".equals(error)) {
|
if (error != null && !"".equals(error)) {
|
||||||
errorView.setVisibility(View.VISIBLE);
|
errorView.setVisibility(View.VISIBLE);
|
||||||
errorView.setText(error);
|
errorView.setText(error);
|
||||||
|
findTextView(R.id.authentication_password).setText("");
|
||||||
} else {
|
} else {
|
||||||
errorView.setVisibility(View.GONE);
|
errorView.setVisibility(View.GONE);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue