fix: 返回过快时主页异常开始播放

This commit is contained in:
orz12
2024-05-25 07:02:36 +08:00
parent 6c18310fa3
commit 832832aaeb

View File

@@ -291,6 +291,7 @@ class _VideoDetailPageState extends State<VideoDetailPage>
@override
// 返回当前页面时
void didPopNext() async {
if (!Get.isRegistered<VideoDetailController>()) return;
isShowing = true;
if (mounted) {
setState(() => {});