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 1c80c3201..6cbbe4fda 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 536b2ea7d..1dd0f3f23 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" /> -