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