Simplification

This commit is contained in:
M66B
2023-12-12 18:21:23 +01:00
parent 8482338f2b
commit 125a47efd8
13 changed files with 27 additions and 26 deletions

View File

@@ -132,7 +132,7 @@ public class AdapterCertificate extends RecyclerView.Adapter<AdapterCertificate.
if (certificate == null)
return null;
File dir = Helper.ensureExists(new File(context.getFilesDir(), "shared"));
File dir = Helper.ensureExists(context.getFilesDir(), "shared");
String name = Helper.sanitizeFilename(certificate.email);
File file = new File(dir, name + ".pem");
Helper.writeText(file, certificate.getPem());