opt: view pgc

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-01-09 18:37:47 +08:00
parent ff00ade786
commit dc75d59ccd
5 changed files with 36 additions and 22 deletions

View File

@@ -40,6 +40,11 @@ class VideoCardHMemberVideo extends StatelessWidget {
onTap!();
return;
}
if (videoItem.isPgc == true && videoItem.uri?.isNotEmpty == true) {
if (Utils.viewPgcFromUri(videoItem.uri!)) {
return;
}
}
try {
Get.toNamed(
'/video?bvid=$bvid&cid=${videoItem.firstCid}',