mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-01 04:35:57 +00:00
Small fix
This commit is contained in:
parent
3ba8e97d56
commit
7e81d96b7a
1 changed files with 2 additions and 0 deletions
|
@ -228,6 +228,8 @@ public class AdapterAccount extends RecyclerView.Adapter<AdapterAccount.ViewHold
|
|||
|
||||
tvMaxSize.setText(account.max_size == null ? null : Helper.humanReadableByteCount(account.max_size));
|
||||
tvMaxSize.setVisibility(settings && account.max_size != null && BuildConfig.DEBUG ? View.VISIBLE : View.GONE);
|
||||
if (tvMaxSize.getVisibility() == View.VISIBLE)
|
||||
tvQuota.setVisibility(View.VISIBLE);
|
||||
|
||||
tvIdentity.setVisibility(account.identities > 0 || !settings ? View.GONE : View.VISIBLE);
|
||||
tvDrafts.setVisibility(account.drafts != null || !settings ? View.GONE : View.VISIBLE);
|
||||
|
|
Loading…
Reference in a new issue