Fix some issue with admins
This commit is contained in:
parent
966b0bce43
commit
49333097cc
|
@ -238,7 +238,7 @@ public class AccountReportActivity extends BaseActivity {
|
||||||
} else {
|
} else {
|
||||||
binding.loginStatus.setText(getString(R.string.active));
|
binding.loginStatus.setText(getString(R.string.active));
|
||||||
}
|
}
|
||||||
if (accountAdmin.domain == null || accountAdmin.domain.equals("null")) {
|
if (accountAdmin.domain == null || accountAdmin.domain.trim().equalsIgnoreCase("null")) {
|
||||||
binding.warn.setVisibility(View.VISIBLE);
|
binding.warn.setVisibility(View.VISIBLE);
|
||||||
binding.emailUser.setVisibility(View.VISIBLE);
|
binding.emailUser.setVisibility(View.VISIBLE);
|
||||||
binding.commentLabel.setVisibility(View.VISIBLE);
|
binding.commentLabel.setVisibility(View.VISIBLE);
|
||||||
|
|
|
@ -326,7 +326,7 @@
|
||||||
app:barrierDirection="bottom"
|
app:barrierDirection="bottom"
|
||||||
app:constraint_referenced_ids="warn,disable,silence" />
|
app:constraint_referenced_ids="warn,disable,silence" />
|
||||||
|
|
||||||
<androidx.appcompat.widget.AppCompatCheckedTextView
|
<androidx.appcompat.widget.AppCompatCheckBox
|
||||||
android:id="@+id/email_user"
|
android:id="@+id/email_user"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
|
Loading…
Reference in New Issue