mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-06-01 00:28:18 +08:00
fix: highlight anim
This commit is contained in:
@@ -118,9 +118,8 @@ class VideoReplyReplyController extends CommonController
|
|||||||
duration: const Duration(milliseconds: 200),
|
duration: const Duration(milliseconds: 200),
|
||||||
);
|
);
|
||||||
await Future.delayed(const Duration(milliseconds: 800));
|
await Future.delayed(const Duration(milliseconds: 800));
|
||||||
controller?.forward().whenComplete(() {
|
await controller?.forward();
|
||||||
index = null;
|
index = null;
|
||||||
});
|
|
||||||
}();
|
}();
|
||||||
}
|
}
|
||||||
id = null;
|
id = null;
|
||||||
|
|||||||
@@ -57,7 +57,9 @@ class _VideoReplyReplyPanelState extends State<VideoReplyReplyPanel> {
|
|||||||
|
|
||||||
@override
|
@override
|
||||||
void dispose() {
|
void dispose() {
|
||||||
|
_videoReplyReplyController.controller?.stop();
|
||||||
_videoReplyReplyController.controller?.dispose();
|
_videoReplyReplyController.controller?.dispose();
|
||||||
|
_videoReplyReplyController.controller = null;
|
||||||
Get.delete<VideoReplyReplyController>(tag: widget.rpid.toString());
|
Get.delete<VideoReplyReplyController>(tag: widget.rpid.toString());
|
||||||
super.dispose();
|
super.dispose();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user