1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-26 17:57:16 +00:00

Added fail-safe

This commit is contained in:
M66B 2021-08-24 13:30:14 +02:00
parent 5a2c9878cc
commit f393c889ef

View file

@ -2041,6 +2041,7 @@ class Core {
" fetched in " + duration + " ms");
// Check if system folders were renamed
try {
for (Folder ifolder : ifolders) {
String fullName = ifolder.getFullName();
if (TextUtils.isEmpty(fullName))
@ -2083,6 +2084,9 @@ class Core {
}
}
}
} catch (Throwable ex) {
Log.e(ex);
}
Map<String, EntityFolder> nameFolder = new HashMap<>();
Map<String, List<EntityFolder>> parentFolders = new HashMap<>();