prevent next button from showing up too early on account setup
This commit is contained in:
parent
0decd8ac28
commit
b8bc70aaa0
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue