1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-26 17:57:16 +00:00

Hide errors on accounts start screen

This commit is contained in:
M66B 2022-02-16 20:51:20 +01:00
parent 9e18bd898c
commit c2879c162d

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 ? View.GONE : View.VISIBLE);
btnHelp.setVisibility(account.error == null ? View.GONE : View.VISIBLE);
tvError.setVisibility(account.error == null || !settings ? View.GONE : View.VISIBLE);
btnHelp.setVisibility(account.error == null || !settings ? View.GONE : View.VISIBLE);
ibInbox.setVisibility(settings ? View.GONE : View.VISIBLE);
grpSettings.setVisibility(settings ? View.VISIBLE : View.GONE);