Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-04-17 17:36:09 +08:00
parent 0259ca963a
commit fa48a07970
2 changed files with 5 additions and 11 deletions

View File

@@ -81,17 +81,10 @@ class _DynamicsTabPageState
@override
Widget build(BuildContext context) {
super.build(context);
// debugPrint(widget.dynamicsType + widget.mid.value.toString());
return refreshIndicator(
// key:
// ValueKey<String>(widget.dynamicsType + widget.mid.value.toString()),
onRefresh: () async {
dynamicsWaterfallFlow = GStorage.setting
.get(SettingBoxKey.dynamicsWaterfallFlow, defaultValue: true);
await Future.wait([
controller.onRefresh(),
dynamicsController.queryFollowUp(),
]);
dynamicsController.queryFollowUp();
await controller.onRefresh();
},
child: CustomScrollView(
physics: const AlwaysScrollableScrollPhysics(),