mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-04 16:16:33 +02:00
Refactoring
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user