1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-21 23:32:51 +00:00

Improved algo display

This commit is contained in:
M66B 2024-12-20 07:23:52 +01:00
parent fd9f9fb455
commit 50f2fa4228
2 changed files with 2 additions and 2 deletions

View file

@ -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));

View file

@ -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() {