mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-25 04:45:54 +08:00
fix: ctr tag
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -15,10 +15,12 @@ class NoteListPage extends CommonSlidePage {
|
||||
const NoteListPage({
|
||||
super.key,
|
||||
super.enableSlide,
|
||||
required this.heroTag,
|
||||
this.oid,
|
||||
this.upperMid,
|
||||
});
|
||||
|
||||
final dynamic heroTag;
|
||||
final dynamic oid;
|
||||
final dynamic upperMid;
|
||||
|
||||
@@ -29,11 +31,12 @@ class NoteListPage extends CommonSlidePage {
|
||||
class _NoteListPageState extends CommonSlidePageState<NoteListPage> {
|
||||
late final _controller = Get.put(
|
||||
NoteListPageCtr(oid: widget.oid, upperMid: widget.upperMid),
|
||||
tag: widget.heroTag,
|
||||
);
|
||||
|
||||
@override
|
||||
void dispose() {
|
||||
Get.delete<NoteListPageCtr>();
|
||||
Get.delete<NoteListPageCtr>(tag: widget.heroTag);
|
||||
super.dispose();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user