Skip to content

Commit

Permalink
offNamed
Browse files Browse the repository at this point in the history
  • Loading branch information
orz12 committed Jul 24, 2024
1 parent c57fded commit ec8155d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/common/widgets/video_card_h.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

0 comments on commit ec8155d

Please sign in to comment.