Revert "Hide errors on accounts start screen"

This reverts commit c2879c162d.
This commit is contained in:
M66B 2022-02-16 21:14:28 +01:00
parent 30c98ff600
commit 4673fe7b16
1 changed files with 2 additions and 2 deletions

View File

@ -284,8 +284,8 @@ public class AdapterAccount extends RecyclerView.Adapter<AdapterAccount.ViewHold
tvWarning.setVisibility(account.warning == null || !settings ? View.GONE : View.VISIBLE);
tvError.setText(account.error);
tvError.setVisibility(account.error == null || !settings ? View.GONE : View.VISIBLE);
btnHelp.setVisibility(account.error == null || !settings ? View.GONE : View.VISIBLE);
tvError.setVisibility(account.error == null ? View.GONE : View.VISIBLE);
btnHelp.setVisibility(account.error == null ? View.GONE : View.VISIBLE);
ibInbox.setVisibility(settings ? View.GONE : View.VISIBLE);
grpSettings.setVisibility(settings ? View.VISIBLE : View.GONE);