1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-02-07 23:16:37 +00:00

Show backoff in settings only

This commit is contained in:
M66B 2020-10-31 09:38:18 +01:00
parent cb8f4480d2
commit d6a3e018f1

View file

@ -207,7 +207,7 @@ public class AdapterAccount extends RecyclerView.Adapter<AdapterAccount.ViewHold
tvBackoff.setText(context.getString(R.string.title_backoff_until,
account.backoff_until == null ? "-" : DTF.format(account.backoff_until)));
tvBackoff.setVisibility(account.backoff_until == null && !BuildConfig.DEBUG ? View.GONE : View.VISIBLE);
tvBackoff.setVisibility(account.backoff_until == null || !settings ? View.GONE : View.VISIBLE);
Integer percent = null;
if (!settings && account.quota_usage != null && account.quota_limit != null)