Fix buttons

This commit is contained in:
tom79 2019-06-22 12:24:14 +02:00
parent 3ebd97e3bc
commit e9a7588e09
1 changed files with 3 additions and 3 deletions

View File

@ -316,7 +316,7 @@ public class AccountReportActivity extends BaseActivity implements OnAdminAction
email_user.setVisibility(View.VISIBLE);
comment.setVisibility(View.VISIBLE);
recent_ip.setText(accountAdmin.getIp());
disable.setVisibility(View.GONE);
disable.setVisibility(View.VISIBLE);
suspend.setVisibility(View.VISIBLE);
}else{
warn.setVisibility(View.GONE);
@ -326,8 +326,8 @@ public class AccountReportActivity extends BaseActivity implements OnAdminAction
recent_ip.setText("-");
permissions.setText("-");
email.setText("-");
disable.setVisibility(View.VISIBLE);
suspend.setVisibility(View.GONE);
disable.setVisibility(View.GONE);
suspend.setVisibility(View.VISIBLE);
}
if( accountAdmin.getRole().equals("admin") || accountAdmin.getRole().equals("mod")){
warn.setVisibility(View.GONE);