no message
This commit is contained in:
parent
2bf8ae88f6
commit
bf3e2eb9e2
|
|
@ -409,7 +409,14 @@ class _JobListParticipateInClassState extends State<JobListParticipateInClass> w
|
|||
),
|
||||
backgroundColor: Colors.white,
|
||||
),
|
||||
body: MyFutureBuilder.buildFutureBuilderOfSingleInstance<List<MarkingTasks>?>(context, _future, (value) {
|
||||
body: RefreshIndicator(
|
||||
onRefresh: () async {
|
||||
getListOfJobFavoritesData().then((value) {
|
||||
_future = getData();
|
||||
toUpState(setState, () {}, mounted);
|
||||
});
|
||||
},
|
||||
child: MyFutureBuilder.buildFutureBuilderOfSingleInstance<List<MarkingTasks>?>(context, _future, (value) {
|
||||
if (value == null) return Container();
|
||||
value.forEach((e) {
|
||||
e.collectNumber = favoriteMap['${e.dpcSchoolId}+${e.dpcGradeId}+${e.className}'] ?? 0;
|
||||
|
|
@ -465,6 +472,7 @@ class _JobListParticipateInClassState extends State<JobListParticipateInClass> w
|
|||
);
|
||||
}),
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue