From 9c6ff3cc2350714586a084c379bf816c8823b0f6 Mon Sep 17 00:00:00 2001 From: bggRGjQaUbCoE Date: Sat, 31 Aug 2024 00:11:51 +0800 Subject: [PATCH] fix: failed to show popup dialog --- lib/pages/hot/view.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/pages/hot/view.dart b/lib/pages/hot/view.dart index 547aed6d0..787f43d44 100644 --- a/lib/pages/hot/view.dart +++ b/lib/pages/hot/view.dart @@ -102,8 +102,8 @@ class _HotPageState extends State with AutomaticKeepAliveClientMixin { videoItem: _hotController.videoList[index], showPubdate: true, longPress: () { - _hotController.popupDialog - .add(_createPopupDialog(videoList[index])); + _hotController.popupDialog.add(_createPopupDialog( + _hotController.videoList[index])); Overlay.of(context) .insert(_hotController.popupDialog.last!); },