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],
|
videoItem: _hotController.videoList[index],
|
||||||
showPubdate: true,
|
showPubdate: true,
|
||||||
longPress: () {
|
longPress: () {
|
||||||
_hotController.popupDialog
|
_hotController.popupDialog.add(_createPopupDialog(
|
||||||
.add(_createPopupDialog(videoList[index]));
|
_hotController.videoList[index]));
|
||||||
Overlay.of(context)
|
Overlay.of(context)
|
||||||
.insert(_hotController.popupDialog.last!);
|
.insert(_hotController.popupDialog.last!);
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user