mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
fix: failed to show popup dialog
This commit is contained in:
@@ -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!);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user