mod: 推荐视频长按

This commit is contained in:
guozhigq
2023-05-15 10:28:48 +08:00
parent 1c1b951df7
commit a9ae6941f3
4 changed files with 34 additions and 5 deletions

View File

@ -25,10 +25,14 @@ class VideoCardH extends StatelessWidget {
String heroTag = Utils.makeHeroTag(aid);
return GestureDetector(
onLongPress: () {
longPress!();
if (longPress != null) {
longPress!();
}
},
onLongPressEnd: (details) {
longPressEnd!();
if (longPressEnd != null) {
longPressEnd!();
}
},
child: InkWell(
onTap: () async {