mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
fix: live qa btn
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -105,7 +105,8 @@ class _BottomControlState extends State<BottomControl> {
|
|||||||
),
|
),
|
||||||
const SizedBox(width: 4),
|
const SizedBox(width: 4),
|
||||||
],
|
],
|
||||||
SizedBox(
|
Obx(
|
||||||
|
() => SizedBox(
|
||||||
width: 30,
|
width: 30,
|
||||||
child: PopupMenuButton<int>(
|
child: PopupMenuButton<int>(
|
||||||
padding: EdgeInsets.zero,
|
padding: EdgeInsets.zero,
|
||||||
@@ -113,12 +114,10 @@ class _BottomControlState extends State<BottomControl> {
|
|||||||
onSelected: (value) {
|
onSelected: (value) {
|
||||||
widget.liveRoomCtr.changeQn(value);
|
widget.liveRoomCtr.changeQn(value);
|
||||||
},
|
},
|
||||||
child: Obx(
|
child: Text(
|
||||||
() => Text(
|
|
||||||
widget.liveRoomCtr.currentQnDesc.value,
|
widget.liveRoomCtr.currentQnDesc.value,
|
||||||
style: const TextStyle(color: Colors.white, fontSize: 13),
|
style: const TextStyle(color: Colors.white, fontSize: 13),
|
||||||
),
|
),
|
||||||
),
|
|
||||||
itemBuilder: (BuildContext context) {
|
itemBuilder: (BuildContext context) {
|
||||||
return widget.liveRoomCtr.acceptQnList.map((e) {
|
return widget.liveRoomCtr.acceptQnList.map((e) {
|
||||||
return PopupMenuItem<int>(
|
return PopupMenuItem<int>(
|
||||||
@@ -129,6 +128,7 @@ class _BottomControlState extends State<BottomControl> {
|
|||||||
},
|
},
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
),
|
||||||
const SizedBox(width: 10),
|
const SizedBox(width: 10),
|
||||||
ComBtn(
|
ComBtn(
|
||||||
icon: const Icon(
|
icon: const Icon(
|
||||||
|
|||||||
Reference in New Issue
Block a user