Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-12-25 13:43:20 +08:00
parent 161bf2eedb
commit 20a36e8f9a
97 changed files with 596 additions and 436 deletions

View File

@@ -22,11 +22,7 @@ class DynamicsController extends GetxController
with GetSingleTickerProviderStateMixin, ScrollOrRefreshMixin, AccountMixin {
@override
final ScrollController scrollController = ScrollController();
late final TabController tabController = TabController(
length: DynamicsTabType.values.length,
vsync: this,
initialIndex: Pref.defaultDynamicType,
);
late final TabController tabController;
late final RxInt mid = (-1).obs;
late int currentMid = -1;
@@ -59,6 +55,11 @@ class DynamicsController extends GetxController
@override
void onInit() {
super.onInit();
tabController = TabController(
length: DynamicsTabType.values.length,
vsync: this,
initialIndex: Pref.defaultDynamicType,
);
queryFollowUp();
}