fix: 动态跳转详情异常

This commit is contained in:
guozhigq
2024-05-05 17:00:35 +08:00
parent 5f085790ef
commit f4ccc442b3
3 changed files with 7 additions and 11 deletions

View File

@ -80,14 +80,11 @@ Widget videoSeasonWidget(item, context, type, {floor = 1}) {
double width = box.maxWidth;
return Stack(
children: [
Hero(
tag: content.bvid,
child: NetworkImgLayer(
type: floor == 1 ? 'emote' : null,
width: width,
height: width / StyleString.aspectRatio,
src: content.cover,
),
NetworkImgLayer(
type: floor == 1 ? 'emote' : null,
width: width,
height: width / StyleString.aspectRatio,
src: content.cover,
),
if (content.badge != null && type == 'pgc')
PBadge(