Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-09-24 10:19:59 +08:00
parent 1345fd36e4
commit ec1bdb243f
2 changed files with 13 additions and 8 deletions

View File

@@ -45,9 +45,13 @@ class VideoCardHMemberVideo extends StatelessWidget {
onTap:
onTap ??
() async {
if (videoItem.isPgc == true &&
videoItem.uri?.isNotEmpty == true) {
if (PageUtils.viewPgcFromUri(videoItem.uri!)) {
final isPgc = videoItem.isPgc == true;
final isPugv = videoItem.isPugv == true;
if ((isPgc || isPugv) && videoItem.uri?.isNotEmpty == true) {
if (PageUtils.viewPgcFromUri(
videoItem.uri!,
isPgc: isPgc,
)) {
return;
}
}