Don't reposition twice w/ custom order hack

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

@ -214,7 +214,9 @@ public class GoogleTaskSynchronizer {
} }
for (GoogleTaskList list : gtasksListService.getListsToUpdate(gtaskLists)) { for (GoogleTaskList list : gtasksListService.getListsToUpdate(gtaskLists)) {
fetchAndApplyRemoteChanges(gtasksInvoker, list); fetchAndApplyRemoteChanges(gtasksInvoker, list);
googleTaskDao.reposition(list.getRemoteId()); if (!preferences.isPositionHackEnabled()) {
googleTaskDao.reposition(list.getRemoteId());
}
} }
if (preferences.isPositionHackEnabled()) { if (preferences.isPositionHackEnabled()) {
for (TaskList list : gtaskLists) { for (TaskList list : gtaskLists) {

Loading…
Cancel
Save