diff --git a/app/src/main/java/app/fedilab/android/activities/AccountReportActivity.java b/app/src/main/java/app/fedilab/android/activities/AccountReportActivity.java index 1c80c320..6cbbe4fd 100644 --- a/app/src/main/java/app/fedilab/android/activities/AccountReportActivity.java +++ b/app/src/main/java/app/fedilab/android/activities/AccountReportActivity.java @@ -238,7 +238,7 @@ public class AccountReportActivity extends BaseActivity { } else { 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.emailUser.setVisibility(View.VISIBLE); binding.commentLabel.setVisibility(View.VISIBLE); diff --git a/app/src/main/res/layout/activity_admin_report.xml b/app/src/main/res/layout/activity_admin_report.xml index 536b2ea7..1dd0f3f2 100644 --- a/app/src/main/res/layout/activity_admin_report.xml +++ b/app/src/main/res/layout/activity_admin_report.xml @@ -326,7 +326,7 @@ app:barrierDirection="bottom" app:constraint_referenced_ids="warn,disable,silence" /> -