mirror of
https://codeberg.org/tom79/Fedilab.git
synced 2024-12-22 16:50:04 +02:00
Fix some issue with admins
This commit is contained in:
parent
966b0bce43
commit
49333097cc
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
|
@ -326,7 +326,7 @@
|
|||
app:barrierDirection="bottom"
|
||||
app:constraint_referenced_ids="warn,disable,silence" />
|
||||
|
||||
<androidx.appcompat.widget.AppCompatCheckedTextView
|
||||
<androidx.appcompat.widget.AppCompatCheckBox
|
||||
android:id="@+id/email_user"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
|
|
Loading…
Reference in a new issue