Debug capabilities

pull/203/head
M66B 3 years ago
parent f749eae2cb
commit e6c3f22ffe

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

Loading…
Cancel
Save