mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
opt: live dyn cover
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -73,6 +73,7 @@ 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,
|
type: floor == 1 ? 'emote' : null,
|
||||||
width: width,
|
width: width,
|
||||||
height: width / StyleString.aspectRatio,
|
height: width / StyleString.aspectRatio,
|
||||||
@@ -112,7 +113,7 @@ Widget liveRcmdPanel(item, context, {floor = 1}) {
|
|||||||
],
|
],
|
||||||
),
|
),
|
||||||
borderRadius: floor == 1
|
borderRadius: floor == 1
|
||||||
? null
|
? const BorderRadius.all(Radius.circular(12))
|
||||||
: const BorderRadius.all(Radius.circular(6))),
|
: const BorderRadius.all(Radius.circular(6))),
|
||||||
child: Row(
|
child: Row(
|
||||||
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
||||||
|
|||||||
@@ -194,4 +194,10 @@ class LiveRoomController extends GetxController {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@override
|
||||||
|
void onClose() {
|
||||||
|
scrollController.dispose();
|
||||||
|
super.onClose();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -93,7 +93,6 @@ class _LiveRoomPageState extends State<LiveRoomPage>
|
|||||||
plPlayerController.dispose();
|
plPlayerController.dispose();
|
||||||
_ctr.dispose();
|
_ctr.dispose();
|
||||||
_liveRoomController.scrollController.removeListener(() {});
|
_liveRoomController.scrollController.removeListener(() {});
|
||||||
_liveRoomController.scrollController.dispose();
|
|
||||||
super.dispose();
|
super.dispose();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user