Refactoring

This commit is contained in:
M66B
2023-12-13 07:21:15 +01:00
parent 9f1bab8e19
commit 9569b0e28e
14 changed files with 25 additions and 28 deletions

View File

@@ -172,7 +172,7 @@ public class EntityAttachment {
}
static File getFile(Context context, long id, String name) {
File dir = Helper.ensureExists(context.getFilesDir(), "attachments");
File dir = Helper.ensureExists(context, "attachments");
String filename = Long.toString(id);
if (!TextUtils.isEmpty(name))
filename += "." + Helper.sanitizeFilename(name);