mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-31 20:25:38 +00:00
Prevent crash
This commit is contained in:
parent
e7ee3efcdb
commit
cbe1067cca
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in a new issue