mirror of https://github.com/M66B/FairEmail.git
Make sure external folder exists
This commit is contained in:
parent
b9db0f7405
commit
a92d5f6244
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue