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:
parent
9823da5845
commit
86abe991de
1 changed files with 1 additions and 0 deletions
|
@ -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();
|
||||||
|
|
Loading…
Reference in a new issue