mod: 更换已废弃的onPopInvoked为onPopInvokedWithResult

This commit is contained in:
orz12
2024-09-08 19:09:55 +08:00
committed by bggRGjQaUbCoE
parent 4f611663cb
commit 078d9033b1
3 changed files with 7 additions and 7 deletions

View File

@@ -205,7 +205,7 @@ class _LiveRoomPageState extends State<LiveRoomPage> {
),
PopScope(
canPop: plPlayerController?.isFullScreen.value != true,
onPopInvoked: (bool didPop) {
onPopInvokedWithResult: (bool didPop, Object? result) {
if (plPlayerController?.isFullScreen.value == true) {
plPlayerController!.triggerFullScreen(status: false);
}