opt: live dyn cover

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2024-11-22 16:49:12 +08:00
parent ea486f90e8
commit 64f66dd58f
3 changed files with 8 additions and 2 deletions

View File

@@ -73,6 +73,7 @@ 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,
@@ -112,7 +113,7 @@ Widget liveRcmdPanel(item, context, {floor = 1}) {
],
),
borderRadius: floor == 1
? null
? const BorderRadius.all(Radius.circular(12))
: const BorderRadius.all(Radius.circular(6))),
child: Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,