fix: failed to show popup dialog

This commit is contained in:
bggRGjQaUbCoE
2024-08-31 00:11:51 +08:00
parent 40cfce3501
commit 9c6ff3cc23

View File

@@ -102,8 +102,8 @@ class _HotPageState extends State<HotPage> 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!);
},