Re-implemented getting tasks with the new seperate endpoint #39

Open
konrad wants to merge 34 commits from feature/task-list into master
1 changed files with 5 additions and 3 deletions
Showing only changes of commit d08c7c3e70 - Show all commits

View File

@ -77,9 +77,11 @@ class _ListPageState extends State<ListPage> {
// in _loadTasksForPage()?
_loadTasksForPage(_currentPage);
}
return index < _tasks.length ? TaskTile(
task: _tasks[index],
): null;
return index < _tasks.length

Please create a custom widget which handles auto loading new tasks and inserting dividers.

Please create a custom widget which handles auto loading new tasks and inserting dividers.
? TaskTile(
task: _tasks[index],
)
: null;
})
: Center(child: Text('This list is empty.')),
onRefresh: _loadList,