mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-31 14:17:03 +02:00
Prevent crash
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user