mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
fix: member ctr
This commit is contained in:
@@ -256,7 +256,7 @@ class _MemberHomeState extends State<MemberHome>
|
||||
print('not initialized');
|
||||
}
|
||||
}
|
||||
_ctr.tabController.animateTo(index);
|
||||
_ctr.tabController?.animateTo(index);
|
||||
} else {
|
||||
// TODO
|
||||
SmartDialog.showToast('view $param');
|
||||
|
||||
@@ -19,7 +19,7 @@ class MemberControllerNew extends CommonController
|
||||
int? ownerMid;
|
||||
RxBool isFollow = false.obs;
|
||||
RxInt relation = 1.obs;
|
||||
late final TabController tabController;
|
||||
TabController? tabController;
|
||||
late final List<Tab> tabs;
|
||||
List<Tab2>? tab2;
|
||||
RxInt contributeInitialIndex = 0.obs;
|
||||
@@ -140,7 +140,7 @@ class MemberControllerNew extends CommonController
|
||||
|
||||
@override
|
||||
void onClose() {
|
||||
tabController.dispose();
|
||||
tabController?.dispose();
|
||||
super.onClose();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user