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:
parent
9e18bd898c
commit
c2879c162d
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue