Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-04-08 19:08:40 +08:00
parent 3cd512857c
commit 560b1e40cc

View File

@@ -380,7 +380,9 @@ class HistoryItem extends StatelessWidget {
),
),
PopupMenuItem<String>(
onTap: () => ctr!.delHistory(
onTap: () => onDelete != null
? onDelete!(videoItem.kid, videoItem.history.business)
: ctr.delHistory(
videoItem.kid, videoItem.history.business),
height: 35,
child: const Row(