Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-01-31 13:10:09 +08:00
parent dbc7bcd0dd
commit 8964197b73
68 changed files with 560 additions and 293 deletions

View File

@@ -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) {

View File

@@ -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) {