mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
fix: dyn live cover
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -74,8 +74,6 @@ Widget liveRcmdPanel(item, context, {floor = 1}) {
|
||||
Hero(
|
||||
tag: liveRcmd.roomId.toString(),
|
||||
child: NetworkImgLayer(
|
||||
radius: 12,
|
||||
type: floor == 1 ? 'emote' : null,
|
||||
width: width,
|
||||
height: width / StyleString.aspectRatio,
|
||||
src: item.modules.moduleDynamic.major.liveRcmd.cover,
|
||||
@@ -114,7 +112,7 @@ Widget liveRcmdPanel(item, context, {floor = 1}) {
|
||||
],
|
||||
),
|
||||
borderRadius: floor == 1
|
||||
? const BorderRadius.all(Radius.circular(12))
|
||||
? StyleString.mdRadius
|
||||
: const BorderRadius.all(Radius.circular(6))),
|
||||
child: Row(
|
||||
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
||||
|
||||
@@ -86,7 +86,6 @@ Widget videoSeasonWidget(item, context, type, {floor = 1}) {
|
||||
// tag: content.bvid,
|
||||
// child:
|
||||
NetworkImgLayer(
|
||||
type: null,
|
||||
width: width,
|
||||
height: width / StyleString.aspectRatio,
|
||||
src: content.cover,
|
||||
|
||||
Reference in New Issue
Block a user