mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-17 07:36:14 +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);
|
Color get _color => Color(0xFFEEEEEE);
|
||||||
|
|
||||||
Widget get _buildAppBar => AppBar(
|
Widget get _buildAppBar => Obx(
|
||||||
|
() => AppBar(
|
||||||
backgroundColor: Colors.transparent,
|
backgroundColor: Colors.transparent,
|
||||||
foregroundColor: Colors.white,
|
foregroundColor: Colors.white,
|
||||||
titleTextStyle: TextStyle(color: Colors.white),
|
titleTextStyle: TextStyle(color: Colors.white),
|
||||||
toolbarHeight:
|
toolbarHeight: plPlayerController.isFullScreen.value ? 0 : null,
|
||||||
MediaQuery.of(context).orientation == Orientation.portrait ? 56 : 0,
|
|
||||||
title: FutureBuilder(
|
title: FutureBuilder(
|
||||||
future: _futureBuilder,
|
future: _futureBuilder,
|
||||||
builder: (context, snapshot) {
|
builder: (context, snapshot) {
|
||||||
@@ -291,8 +291,8 @@ class _LiveRoomPageState extends State<LiveRoomPage>
|
|||||||
GestureDetector(
|
GestureDetector(
|
||||||
onTap: () {
|
onTap: () {
|
||||||
_node.unfocus();
|
_node.unfocus();
|
||||||
dynamic uid =
|
dynamic uid = _liveRoomController
|
||||||
_liveRoomController.roomInfoH5.value.roomInfo?.uid;
|
.roomInfoH5.value.roomInfo?.uid;
|
||||||
Get.toNamed(
|
Get.toNamed(
|
||||||
'/member?mid=$uid',
|
'/member?mid=$uid',
|
||||||
arguments: {
|
arguments: {
|
||||||
@@ -318,7 +318,8 @@ class _LiveRoomPageState extends State<LiveRoomPage>
|
|||||||
style: const TextStyle(fontSize: 14),
|
style: const TextStyle(fontSize: 14),
|
||||||
),
|
),
|
||||||
const SizedBox(height: 1),
|
const SizedBox(height: 1),
|
||||||
if (_liveRoomController.roomInfoH5.value.watchedShow !=
|
if (_liveRoomController
|
||||||
|
.roomInfoH5.value.watchedShow !=
|
||||||
null)
|
null)
|
||||||
Text(
|
Text(
|
||||||
_liveRoomController.roomInfoH5.value
|
_liveRoomController.roomInfoH5.value
|
||||||
@@ -357,6 +358,7 @@ class _LiveRoomPageState extends State<LiveRoomPage>
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
|
),
|
||||||
);
|
);
|
||||||
|
|
||||||
Widget get _buildBodyH {
|
Widget get _buildBodyH {
|
||||||
|
|||||||
Reference in New Issue
Block a user