mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-30 04:58:41 +00:00
@@ -21,10 +21,16 @@ class FavNoteChildPage extends StatefulWidget {
|
||||
|
||||
class _FavNoteChildPageState extends State<FavNoteChildPage>
|
||||
with AutomaticKeepAliveClientMixin, GridMixin {
|
||||
late final FavNoteController _favNoteController = Get.put(
|
||||
FavNoteController(widget.isPublish),
|
||||
tag: '${widget.isPublish}',
|
||||
);
|
||||
late final FavNoteController _favNoteController;
|
||||
|
||||
@override
|
||||
void initState() {
|
||||
super.initState();
|
||||
_favNoteController = Get.put(
|
||||
FavNoteController(widget.isPublish),
|
||||
tag: widget.isPublish.toString(),
|
||||
);
|
||||
}
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
|
||||
@@ -27,10 +27,16 @@ class FavPgcChildPage extends StatefulWidget {
|
||||
|
||||
class _FavPgcChildPageState extends State<FavPgcChildPage>
|
||||
with AutomaticKeepAliveClientMixin, GridMixin {
|
||||
late final FavPgcController _favPgcController = Get.put(
|
||||
FavPgcController(widget.type, widget.followStatus),
|
||||
tag: '${widget.type}${widget.followStatus}',
|
||||
);
|
||||
late final FavPgcController _favPgcController;
|
||||
|
||||
@override
|
||||
void initState() {
|
||||
super.initState();
|
||||
_favPgcController = Get.put(
|
||||
FavPgcController(widget.type, widget.followStatus),
|
||||
tag: '${widget.type}${widget.followStatus}',
|
||||
);
|
||||
}
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
|
||||
Reference in New Issue
Block a user