fix: live room

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-02-23 18:10:51 +08:00
parent 14129e8f21
commit 811b79610c

View File

@@ -271,12 +271,12 @@ class _LiveRoomPageState extends State<LiveRoomPage>
Color get _color => Color(0xFFEEEEEE);
Widget get _buildAppBar => AppBar(
Widget get _buildAppBar => Obx(
() => AppBar(
backgroundColor: Colors.transparent,
foregroundColor: Colors.white,
titleTextStyle: TextStyle(color: Colors.white),
toolbarHeight:
MediaQuery.of(context).orientation == Orientation.portrait ? 56 : 0,
toolbarHeight: plPlayerController.isFullScreen.value ? 0 : null,
title: FutureBuilder(
future: _futureBuilder,
builder: (context, snapshot) {
@@ -291,8 +291,8 @@ class _LiveRoomPageState extends State<LiveRoomPage>
GestureDetector(
onTap: () {
_node.unfocus();
dynamic uid =
_liveRoomController.roomInfoH5.value.roomInfo?.uid;
dynamic uid = _liveRoomController
.roomInfoH5.value.roomInfo?.uid;
Get.toNamed(
'/member?mid=$uid',
arguments: {
@@ -318,7 +318,8 @@ class _LiveRoomPageState extends State<LiveRoomPage>
style: const TextStyle(fontSize: 14),
),
const SizedBox(height: 1),
if (_liveRoomController.roomInfoH5.value.watchedShow !=
if (_liveRoomController
.roomInfoH5.value.watchedShow !=
null)
Text(
_liveRoomController.roomInfoH5.value
@@ -357,6 +358,7 @@ class _LiveRoomPageState extends State<LiveRoomPage>
}
},
),
),
);
Widget get _buildBodyH {