prevent next button from showing up too early on account setup

This commit is contained in:
iNPUTmice 2015-02-25 23:48:45 +01:00
parent 0decd8ac28
commit b8bc70aaa0
1 changed files with 1 additions and 1 deletions

View File

@ -235,7 +235,7 @@ public class EditAccountActivity extends XmppActivity implements OnAccountUpdate
}
protected void updateSaveButton() {
if (mAccount != null && mAccount.getStatus() == Account.State.CONNECTING) {
if (mAccount != null && (mAccount.getStatus() == Account.State.CONNECTING || mFetchingAvatar)) {
this.mSaveButton.setEnabled(false);
this.mSaveButton.setTextColor(getSecondaryTextColor());
this.mSaveButton.setText(R.string.account_status_connecting);