don't show avatar on initial account creation
This commit is contained in:
parent
56caf35e89
commit
dace729c5b
|
@ -400,8 +400,10 @@ public class EditAccountActivity extends XmppActivity {
|
||||||
private void updateAccountInformation() {
|
private void updateAccountInformation() {
|
||||||
this.mAccountJid.setText(this.mAccount.getJid());
|
this.mAccountJid.setText(this.mAccount.getJid());
|
||||||
this.mPassword.setText(this.mAccount.getPassword());
|
this.mPassword.setText(this.mAccount.getPassword());
|
||||||
|
if (this.jidToEdit != null) {
|
||||||
this.mAvatar.setVisibility(View.VISIBLE);
|
this.mAvatar.setVisibility(View.VISIBLE);
|
||||||
this.mAvatar.setImageBitmap(avatarService().get(this.mAccount, getPixel(72)));
|
this.mAvatar.setImageBitmap(avatarService().get(this.mAccount, getPixel(72)));
|
||||||
|
}
|
||||||
if (this.mAccount.isOptionSet(Account.OPTION_REGISTER)) {
|
if (this.mAccount.isOptionSet(Account.OPTION_REGISTER)) {
|
||||||
this.mRegisterNew.setVisibility(View.VISIBLE);
|
this.mRegisterNew.setVisibility(View.VISIBLE);
|
||||||
this.mRegisterNew.setChecked(true);
|
this.mRegisterNew.setChecked(true);
|
||||||
|
|
Loading…
Reference in a new issue