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

@ -32,10 +32,14 @@ class VideoCardV extends StatelessWidget {
margin: EdgeInsets.zero,
child: GestureDetector(
onLongPress: () {
longPress!();
if (longPress != null) {
longPress!();
}
},
onLongPressEnd: (details) {
longPressEnd!();
if (longPressEnd != null) {
longPressEnd!();
}
},
child: InkWell(
onTap: () async {