fix rar crash in EditAccountActivity during account registration
This commit is contained in:
parent
dc5cca9b60
commit
0758d938d6
1 changed files with 1 additions and 1 deletions
|
@ -431,7 +431,7 @@ public class EditAccountActivity extends OmemoActivity implements OnAccountUpdat
|
|||
}
|
||||
|
||||
protected void updateInfoButtons() {
|
||||
if (this.binding.accountRegisterNew.isChecked() && this.binding.accountJid.getText().length() > 0) {
|
||||
if (this.binding.accountRegisterNew.isChecked() && this.binding.accountJid.getText().length() > 0 && !this.binding.accountJid.getText().toString().contains("@")) {
|
||||
if (!mUsernameMode && Jid.of(this.binding.accountJid.getText()).getDomain().toLowerCase().equals("pix-art.de")) {
|
||||
this.binding.showPrivacyPolicy.setVisibility(View.VISIBLE);
|
||||
this.binding.showTermsOfUse.setVisibility(View.VISIBLE);
|
||||
|
|
Reference in a new issue