mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-21 17:46:24 +08:00
@@ -80,9 +80,7 @@ class BottomControl extends StatelessWidget implements PreferredSizeWidget {
|
||||
height: 35,
|
||||
padding: const EdgeInsets.only(left: 30),
|
||||
value: boxFit,
|
||||
onTap: () {
|
||||
plPlayerController.toggleVideoFit(boxFit);
|
||||
},
|
||||
onTap: () => plPlayerController.toggleVideoFit(boxFit),
|
||||
child: Text(
|
||||
boxFit.desc,
|
||||
style:
|
||||
@@ -116,9 +114,7 @@ class BottomControl extends StatelessWidget implements PreferredSizeWidget {
|
||||
height: 35,
|
||||
padding: const EdgeInsets.only(left: 30),
|
||||
value: e['code'],
|
||||
onTap: () {
|
||||
liveRoomCtr.changeQn(e['code']);
|
||||
},
|
||||
onTap: () => liveRoomCtr.changeQn(e['code']),
|
||||
child: Text(
|
||||
e['desc'],
|
||||
style:
|
||||
|
||||
@@ -90,10 +90,9 @@ class LiveRoomChat extends StatelessWidget {
|
||||
size: 20,
|
||||
),
|
||||
label: const Text('回到底部'),
|
||||
onPressed: () {
|
||||
liveRoomController.disableAutoScroll.value = false;
|
||||
liveRoomController.scrollToBottom();
|
||||
},
|
||||
onPressed: () => liveRoomController
|
||||
..disableAutoScroll.value = false
|
||||
..scrollToBottom(),
|
||||
),
|
||||
)
|
||||
: const SizedBox.shrink(),
|
||||
|
||||
Reference in New Issue
Block a user