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:
parent
5a2c9878cc
commit
f393c889ef
1 changed files with 38 additions and 34 deletions
|
@ -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<>();
|
||||
|
|
Loading…
Reference in a new issue