This commit is contained in:
parent
5f7d59c7ea
commit
d08c7c3e70
|
@ -77,9 +77,11 @@ class _ListPageState extends State<ListPage> {
|
|||
// in _loadTasksForPage()?
|
||||
_loadTasksForPage(_currentPage);
|
||||
}
|
||||
return index < _tasks.length ? TaskTile(
|
||||
return index < _tasks.length
|
||||
? TaskTile(
|
||||
task: _tasks[index],
|
||||
): null;
|
||||
)
|
||||
: null;
|
||||
})
|
||||
: Center(child: Text('This list is empty.')),
|
||||
onRefresh: _loadList,
|
||||
|
|
Reference in New Issue
Block a user