Refactoring

This commit is contained in:
M66B
2018-08-21 14:25:42 +00:00
parent 36bdc2cce7
commit 3ef26e5e46
7 changed files with 26 additions and 26 deletions

View File

@@ -495,9 +495,7 @@ public class FragmentCompose extends FragmentEx {
}
try {
File dir = new File(context.getFilesDir(), "attachments");
dir.mkdir();
File file = new File(dir, Long.toString(attachment.id));
File file = EntityAttachment.getFile(context, attachment.id);
InputStream is = null;
OutputStream os = null;