mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-21 08:38:37 +00:00
precheck video dimension
Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
@@ -42,13 +42,15 @@ class MemberCoinLikeItem extends StatelessWidget {
|
||||
}
|
||||
|
||||
if (item.param != null) {
|
||||
int? cid = await SearchHttp.ab2c(aid: item.param);
|
||||
final res = await SearchHttp.ab2cWithDimension(aid: item.param);
|
||||
final cid = res?.cid;
|
||||
if (cid != null) {
|
||||
PageUtils.toVideoPage(
|
||||
aid: int.parse(item.param!),
|
||||
cid: cid,
|
||||
cover: item.cover,
|
||||
title: item.title,
|
||||
dimension: res!.dimension,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user