From ec8155defe74145eb3f9b554a0037ac85777e176 Mon Sep 17 00:00:00 2001 From: orz12 Date: Wed, 24 Jul 2024 23:12:02 +0800 Subject: [PATCH] offNamed --- lib/common/widgets/video_card_h.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/common/widgets/video_card_h.dart b/lib/common/widgets/video_card_h.dart index a59b93a11..6181e03ea 100644 --- a/lib/common/widgets/video_card_h.dart +++ b/lib/common/widgets/video_card_h.dart @@ -66,7 +66,7 @@ class VideoCardH extends StatelessWidget { try { final int cid = videoItem.cid ?? await SearchHttp.ab2c(aid: aid, bvid: bvid); - Get.toNamed('/video?bvid=$bvid&cid=$cid', + Get.offNamed('/video?bvid=$bvid&cid=$cid', arguments: {'videoItem': videoItem, 'heroTag': heroTag}); } catch (err) { SmartDialog.showToast(err.toString());