1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-01-19 05:38:31 +00:00

Debug capabilities

This commit is contained in:
M66B 2021-08-08 14:13:21 +02:00
parent f749eae2cb
commit e6c3f22ffe

View file

@ -242,7 +242,8 @@ public class AdapterAccount extends RecyclerView.Adapter<AdapterAccount.ViewHold
tvId.setVisibility(settings && BuildConfig.DEBUG ? View.VISIBLE : View.GONE);
tvCapabilities.setText(account.capabilities);
tvCapabilities.setVisibility(settings && debug &&
tvCapabilities.setVisibility(settings && (debug || BuildConfig.DEBUG) &&
!TextUtils.isEmpty(account.capabilities) ? View.VISIBLE : View.GONE);
tvIdentity.setVisibility(account.identities > 0 || !settings ? View.GONE : View.VISIBLE);