mirror of https://github.com/M66B/FairEmail.git
Prevent crash
This commit is contained in:
parent
e6395bdd8c
commit
89d02c604d
|
@ -2533,7 +2533,7 @@ class Core {
|
|||
parent = db.folder().getFolderByName(account.id, fullName.substring(0, sep));
|
||||
|
||||
if (!EntityFolder.USER.equals(type) && !EntityFolder.SYSTEM.equals(type)) {
|
||||
prefs.edit().remove("updated." + account.id + "." + folder.type).apply();
|
||||
prefs.edit().remove("updated." + account.id + "." + type).apply();
|
||||
EntityFolder has = db.folder().getFolderByType(account.id, type);
|
||||
if (has != null)
|
||||
type = EntityFolder.USER;
|
||||
|
|
Loading…
Reference in New Issue