mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-27 16:10:58 +01:00
Show account/folder connectivity
This commit is contained in:
@@ -488,10 +488,8 @@ public class FragmentAccount extends FragmentEx {
|
||||
folder.account = account.id;
|
||||
Log.i(Helper.TAG, "Creating folder=" + folder.name + " (" + folder.type + ")");
|
||||
folder.id = db.folder().insertFolder(folder);
|
||||
} else {
|
||||
existing.type = folder.type;
|
||||
db.folder().updateFolder(existing);
|
||||
}
|
||||
} else
|
||||
db.folder().setFolderType(existing.id, folder.type);
|
||||
}
|
||||
|
||||
db.setTransactionSuccessful();
|
||||
|
||||
Reference in New Issue
Block a user