1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-22 07:42:52 +00:00

Small layout improvement

This commit is contained in:
M66B 2024-12-20 10:00:47 +01:00
parent 9823da5845
commit 86abe991de

View file

@ -193,6 +193,7 @@ public class AdapterCertificate extends RecyclerView.Adapter<AdapterCertificate.
private void bindTo(EntityCertificate certificate) { private void bindTo(EntityCertificate certificate) {
tvEmail.setText(certificate.email); tvEmail.setText(certificate.email);
tvEmail.setTypeface(certificate.intermediate ? Typeface.DEFAULT : Typeface.DEFAULT_BOLD);
ivIntermediate.setVisibility(certificate.intermediate ? View.VISIBLE : View.INVISIBLE); ivIntermediate.setVisibility(certificate.intermediate ? View.VISIBLE : View.INVISIBLE);
String subject = certificate.subject; String subject = certificate.subject;
String algo = certificate.getSigAlgName(); String algo = certificate.getSigAlgName();