1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-01-03 13:44:40 +00:00

Sync on folder save only when enabled

This commit is contained in:
M66B 2019-05-31 08:33:48 +02:00
parent d681b09e58
commit 201ed53ac1

View file

@ -250,7 +250,8 @@ public class FragmentFolder extends FragmentBase {
sync_days, keep_days, auto_delete);
db.folder().setFolderError(id, null);
EntityOperation.sync(context, folder.id, true);
if (!reload && synchronize)
EntityOperation.sync(context, folder.id, true);
}
db.setTransactionSuccessful();