1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-31 20:25:38 +00:00

Prevent crash

This commit is contained in:
M66B 2022-02-05 19:42:35 +01:00
parent e7ee3efcdb
commit cbe1067cca

View file

@ -183,7 +183,7 @@ public class ActivityEML extends ActivityBase {
if (uri == null)
throw new FileNotFoundException();
File dir = new File(getCacheDir(), "shared");
File dir = new File(context.getCacheDir(), "shared");
if (!dir.exists())
dir.mkdir();