Reverted unused code
This commit is contained in:
parent
3387fc8500
commit
629db81c22
|
@ -58,14 +58,14 @@ class _ListPageState extends State<ListPage> {
|
||||||
body: !this._loading
|
body: !this._loading
|
||||||
? RefreshIndicator(
|
? RefreshIndicator(
|
||||||
onRefresh: _loadList,
|
onRefresh: _loadList,
|
||||||
child: /*_list.tasks.length > 0
|
child: _list.tasks.length > 0
|
||||||
? */
|
?
|
||||||
ListView(
|
ListView(
|
||||||
padding: EdgeInsets.symmetric(vertical: 8.0),
|
padding: EdgeInsets.symmetric(vertical: 8.0),
|
||||||
children: ListTile.divideTiles(context: context, tiles: tasks)
|
children: ListTile.divideTiles(context: context, tiles: tasks)
|
||||||
.toList(),
|
.toList(),
|
||||||
),
|
)
|
||||||
//: Center(child: Text('This list is empty.')),
|
: Center(child: Text('This list is empty.')),
|
||||||
)
|
)
|
||||||
: Center(child: CircularProgressIndicator()),
|
: Center(child: CircularProgressIndicator()),
|
||||||
floatingActionButton: Builder(
|
floatingActionButton: Builder(
|
||||||
|
|
Reference in New Issue
Block a user