mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-17 23:56:13 +08:00
fix: live room
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user