1
0
Fork 0
mirror of https://github.com/geometer/FBReaderJ.git synced 2025-10-04 18:29:23 +02:00

clear password field in case of authentication failure

This commit is contained in:
Nikolay Pultsin 2011-08-25 00:51:34 +01:00
parent 831bec7bc3
commit cd2d4afffb

View file

@ -221,6 +221,7 @@ public class AuthenticationActivity extends Activity {
if (error != null && !"".equals(error)) {
errorView.setVisibility(View.VISIBLE);
errorView.setText(error);
findTextView(R.id.authentication_password).setText("");
} else {
errorView.setVisibility(View.GONE);
}