mirror of https://github.com/M66B/FairEmail.git
Prevent crash
This commit is contained in:
parent
104fa6f8c4
commit
70726f8c91
|
@ -876,11 +876,13 @@ class Core {
|
|||
Log.i("End sync folder");
|
||||
}
|
||||
|
||||
nameFolder.put(folder.name, folder);
|
||||
String parentName = folder.getParentName(separator);
|
||||
if (!parentFolders.containsKey(parentName))
|
||||
parentFolders.put(parentName, new ArrayList<EntityFolder>());
|
||||
parentFolders.get(parentName).add(folder);
|
||||
if (!subscribed_only || subscribed) {
|
||||
nameFolder.put(folder.name, folder);
|
||||
String parentName = folder.getParentName(separator);
|
||||
if (!parentFolders.containsKey(parentName))
|
||||
parentFolders.put(parentName, new ArrayList<EntityFolder>());
|
||||
parentFolders.get(parentName).add(folder);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue