Always sync all dashboards, instead of just recently changed ones. Seems like a reasonable thing to do - small amount of data increase, prevents out of sync bugs

pull/14/head
Tim Su 14 years ago
parent 548fb1cf74
commit 68c87404ab

@ -208,7 +208,7 @@ public class ProducteevSyncProvider extends SyncProvider<ProducteevTaskContainer
String lastServerSync = Preferences.getStringValue(ProducteevUtilities.PREF_SERVER_LAST_SYNC); String lastServerSync = Preferences.getStringValue(ProducteevUtilities.PREF_SERVER_LAST_SYNC);
// read dashboards // read dashboards
JSONArray dashboards = invoker.dashboardsShowList(lastServerSync); JSONArray dashboards = invoker.dashboardsShowList(null);
dataService.updateDashboards(dashboards); dataService.updateDashboards(dashboards);
// read labels and tasks for each dashboard // read labels and tasks for each dashboard

Loading…
Cancel
Save