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
1 changed files with 2 additions and 1 deletions

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();