Don't reposition twice w/ custom order hack

pull/820/head
Alex Baker 5 years ago
parent da4262cc79
commit 011d139f06

@ -214,8 +214,10 @@ public class GoogleTaskSynchronizer {
}
for (GoogleTaskList list : gtasksListService.getListsToUpdate(gtaskLists)) {
fetchAndApplyRemoteChanges(gtasksInvoker, list);
if (!preferences.isPositionHackEnabled()) {
googleTaskDao.reposition(list.getRemoteId());
}
}
if (preferences.isPositionHackEnabled()) {
for (TaskList list : gtaskLists) {
List<com.google.api.services.tasks.model.Task> tasks = fetchPositions(gtasksInvoker, list.getId());

Loading…
Cancel
Save