set cursor to end of jid in edit account
This commit is contained in:
parent
212d1a8c91
commit
f24649c819
|
@ -518,10 +518,11 @@ public class EditAccountActivity extends XmppActivity implements OnAccountUpdate
|
||||||
|
|
||||||
private void updateAccountInformation(boolean init) {
|
private void updateAccountInformation(boolean init) {
|
||||||
if (init) {
|
if (init) {
|
||||||
|
this.mAccountJid.getEditableText().clear();
|
||||||
if (Config.DOMAIN_LOCK != null) {
|
if (Config.DOMAIN_LOCK != null) {
|
||||||
this.mAccountJid.setText(this.mAccount.getJid().getLocalpart());
|
this.mAccountJid.getEditableText().append(this.mAccount.getJid().getLocalpart());
|
||||||
} else {
|
} else {
|
||||||
this.mAccountJid.setText(this.mAccount.getJid().toBareJid().toString());
|
this.mAccountJid.getEditableText().append(this.mAccount.getJid().toBareJid().toString());
|
||||||
}
|
}
|
||||||
this.mPassword.setText(this.mAccount.getPassword());
|
this.mPassword.setText(this.mAccount.getPassword());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue