Reverted unused code

This commit is contained in:
kolaente 2019-04-02 10:53:43 +02:00
parent 3387fc8500
commit 629db81c22
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 4 additions and 4 deletions

View File

@ -58,14 +58,14 @@ class _ListPageState extends State<ListPage> {
body: !this._loading
? RefreshIndicator(
onRefresh: _loadList,
child: /*_list.tasks.length > 0
? */
child: _list.tasks.length > 0
?
ListView(
padding: EdgeInsets.symmetric(vertical: 8.0),
children: ListTile.divideTiles(context: context, tiles: tasks)
.toList(),
),
//: Center(child: Text('This list is empty.')),
)
: Center(child: Text('This list is empty.')),
)
: Center(child: CircularProgressIndicator()),
floatingActionButton: Builder(