@ -247,7 +247,7 @@ public class EntityOperation {
Log.i("Queued sync folder=" + folder);
}
if (foreground)
if (foreground) // Show spinner
db.folder().setFolderSyncState(fid, "requested");
if (account == null) // Outbox
@ -260,7 +260,7 @@ public class FragmentFolder extends FragmentBase {
db.message().deleteMessagesBefore(id, keep_time);
EntityOperation.sync(context, folder.id, false);
EntityOperation.sync(context, folder.id, true);
db.setTransactionSuccessful();