mirror of
https://github.com/M66B/FairEmail.git
synced 2026-05-19 05:29:50 +02:00
Improved algo display
This commit is contained in:
@@ -197,7 +197,7 @@ public class AdapterCertificate extends RecyclerView.Adapter<AdapterCertificate.
|
||||
String subject = certificate.subject;
|
||||
String algo = certificate.getSigAlgName();
|
||||
if (algo != null)
|
||||
subject = algo + " " + subject;
|
||||
subject = algo.replaceAll("(?i)With", "/") + " " + subject;
|
||||
tvSubject.setText(subject);
|
||||
tvAfter.setText(certificate.after == null ? null : TF.format(certificate.after));
|
||||
tvBefore.setText(certificate.before == null ? null : TF.format(certificate.before));
|
||||
|
||||
@@ -10453,7 +10453,7 @@ public class FragmentMessages extends FragmentBase
|
||||
tvExpired.setVisibility(record.isExpired(time) ? View.VISIBLE : View.GONE);
|
||||
|
||||
if (!TextUtils.isEmpty(algo))
|
||||
algo = algo.replace("WITH", "/");
|
||||
algo = algo.replace("(?i)With", "/");
|
||||
tvAlgorithm.setText(algo);
|
||||
|
||||
ibInfo.setOnClickListener(new View.OnClickListener() {
|
||||
|
||||
Reference in New Issue
Block a user