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