Reverted unused code
This commit is contained in:
parent
3387fc8500
commit
629db81c22
|
@ -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(
|
||||
|
|
Reference in New Issue