fix: dyn live cover

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-01-15 20:43:06 +08:00
parent c02d828e2c
commit bbbba4e70a
2 changed files with 1 additions and 4 deletions

View File

@@ -74,8 +74,6 @@ Widget liveRcmdPanel(item, context, {floor = 1}) {
Hero( Hero(
tag: liveRcmd.roomId.toString(), tag: liveRcmd.roomId.toString(),
child: NetworkImgLayer( child: NetworkImgLayer(
radius: 12,
type: floor == 1 ? 'emote' : null,
width: width, width: width,
height: width / StyleString.aspectRatio, height: width / StyleString.aspectRatio,
src: item.modules.moduleDynamic.major.liveRcmd.cover, src: item.modules.moduleDynamic.major.liveRcmd.cover,
@@ -114,7 +112,7 @@ Widget liveRcmdPanel(item, context, {floor = 1}) {
], ],
), ),
borderRadius: floor == 1 borderRadius: floor == 1
? const BorderRadius.all(Radius.circular(12)) ? StyleString.mdRadius
: const BorderRadius.all(Radius.circular(6))), : const BorderRadius.all(Radius.circular(6))),
child: Row( child: Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween, mainAxisAlignment: MainAxisAlignment.spaceBetween,

View File

@@ -86,7 +86,6 @@ Widget videoSeasonWidget(item, context, type, {floor = 1}) {
// tag: content.bvid, // tag: content.bvid,
// child: // child:
NetworkImgLayer( NetworkImgLayer(
type: null,
width: width, width: width,
height: width / StyleString.aspectRatio, height: width / StyleString.aspectRatio,
src: content.cover, src: content.cover,