mirror of
https://github.com/alibaba/flutter-go.git
synced 2025-07-04 07:18:11 +08:00
remove get collection
This commit is contained in:
@ -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) {
|
||||||
|
Reference in New Issue
Block a user