do not dismiss editAccountActivity when still trying to register new account
This commit is contained in:
parent
e65068d226
commit
ef605e4cbd
|
@ -152,7 +152,9 @@ public class EditAccountActivity extends XmppActivity implements OnAccountUpdate
|
|||
mAccount.setOption(Account.OPTION_REGISTER, registerNewAccount);
|
||||
xmppConnectionService.createAccount(mAccount);
|
||||
}
|
||||
if (jidToEdit != null && !mAccount.isOptionSet(Account.OPTION_DISABLED)) {
|
||||
if (jidToEdit != null
|
||||
&& !mAccount.isOptionSet(Account.OPTION_DISABLED)
|
||||
&& !registerNewAccount) {
|
||||
finish();
|
||||
} else {
|
||||
updateSaveButton();
|
||||
|
|
Loading…
Reference in a new issue