convert jid to string
This commit is contained in:
parent
0c9c59b444
commit
41d57aca9a
1 changed files with 2 additions and 1 deletions
|
@ -432,7 +432,8 @@ public class EditAccountActivity extends OmemoActivity implements OnAccountUpdat
|
|||
|
||||
protected void updateInfoButtons() {
|
||||
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")) {
|
||||
final String jid = this.binding.accountJid.getText().toString();
|
||||
if (!mUsernameMode && Jid.of(jid).getDomain().toLowerCase().equals("pix-art.de")) {
|
||||
this.binding.showPrivacyPolicy.setVisibility(View.VISIBLE);
|
||||
this.binding.showTermsOfUse.setVisibility(View.VISIBLE);
|
||||
}
|
||||
|
|
Reference in a new issue