remove get collection

This commit is contained in:
yifeng.yl
2019-08-07 19:08:25 +08:00
parent 0cfb19b4e5
commit 1d0881cb17

View File

@ -48,13 +48,13 @@ class _CollectionPageState extends State<CollectionPage> {
void _getList() { void _getList() {
_collectionList.clear(); _collectionList.clear();
DataUtils.getAllCollections(context).then((collectionList) { // DataUtils.getAllCollections(context).then((collectionList) {
if (this.mounted) { // if (this.mounted) {
setState(() { // setState(() {
_collectionList = collectionList; // _collectionList = collectionList;
}); // });
} // }
}); // });
} }
Widget _renderList(context, index) { Widget _renderList(context, index) {