mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-28 11:42:15 -05:00
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());
|
||||||
this.mAvatar.setVisibility(View.VISIBLE);
|
if (this.jidToEdit != null) {
|
||||||
this.mAvatar.setImageBitmap(avatarService().get(this.mAccount,getPixel(72)));
|
this.mAvatar.setVisibility(View.VISIBLE);
|
||||||
|
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 New Issue
Block a user