mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-31 06:08:31 +02:00
Make sure external folder exists
This commit is contained in:
@@ -815,6 +815,9 @@ public class FragmentOptionsMisc extends FragmentBase implements SharedPreferenc
|
||||
source = new File(source, "attachments");
|
||||
target = new File(target, "attachments");
|
||||
|
||||
source.mkdirs();
|
||||
target.mkdirs();
|
||||
|
||||
File[] attachments = source.listFiles();
|
||||
if (attachments != null)
|
||||
for (File attachment : attachments) {
|
||||
|
||||
Reference in New Issue
Block a user