mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-30 15:25:47 +08:00
fix: initialize controller before super (#1827)
This commit is contained in:
@@ -44,11 +44,11 @@ class _PgcPageState extends CommonPageState<PgcPage, PgcController>
|
||||
|
||||
@override
|
||||
void initState() {
|
||||
super.initState();
|
||||
controller = Get.put(
|
||||
PgcController(tabType: widget.tabType),
|
||||
tag: widget.tabType.name,
|
||||
);
|
||||
super.initState();
|
||||
}
|
||||
|
||||
@override
|
||||
|
||||
Reference in New Issue
Block a user