show error message in account details when info has not been edited

This commit is contained in:
Daniel Gultsch 2015-07-17 13:14:24 +02:00
parent 1f43115544
commit 13cce172ab

View file

@ -503,7 +503,7 @@ public class EditAccountActivity extends XmppActivity implements OnAccountUpdate
} else {
if (this.mAccount.errorStatus()) {
this.mAccountJid.setError(getString(this.mAccount.getStatus().getReadableId()));
if (init) {
if (init || !accountInfoEdited()) {
this.mAccountJid.requestFocus();
}
} else {