Todo summary

This commit is contained in:
Sewmina
2022-04-07 19:07:07 +05:30
parent 7aa8712c16
commit a5145a2527
5 changed files with 105 additions and 4 deletions

View File

@@ -143,12 +143,19 @@ Future<void> refreshUserData({bool forceOffline = false}) async {
refreshStream.add(false);
} else {
Debug.LogTest('updating cats ${DateTime.now()}');
categories = await GetCategories(false);
Debug.LogTest('updating projs ${DateTime.now()}');
projects = await GetProjects(false);
Debug.LogTest('updating tasks ${DateTime.now()}');
taskTypes = await GetTaskTypes(false);
Debug.LogTest('updating acts ${DateTime.now()}');
activities = await GetActivities(false);
Debug.LogTest('updating journals ${DateTime.now()}');
journal = await GetJournals(false);
Debug.LogTest('updating todos ${DateTime.now()}');
todos= await GetTodos(false);
Debug.LogTest('done refreshing ${DateTime.now()}');
}
m_refreshing = false;