opt: pages

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-01-02 20:34:05 +08:00
parent f1a10a786d
commit 621239551f
22 changed files with 227 additions and 191 deletions

View File

@@ -90,8 +90,10 @@ class _DynamicsTabPageState extends State<DynamicsTabPage>
onRefresh: () async {
dynamicsWaterfallFlow = GStorage.setting
.get(SettingBoxKey.dynamicsWaterfallFlow, defaultValue: true);
await _dynamicsTabController.onRefresh();
await dynamicsController.queryFollowUp();
await Future.wait([
_dynamicsTabController.onRefresh(),
dynamicsController.queryFollowUp(),
]);
},
child: CustomScrollView(
physics: const AlwaysScrollableScrollPhysics(),