mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
fix:播放异常黑屏等
This commit is contained in:
@@ -1063,19 +1063,16 @@ class _HeaderControlState extends State<HeaderControl> {
|
||||
size: 15,
|
||||
color: Colors.white,
|
||||
),
|
||||
onPressed: () => <Set<void>>{
|
||||
if (widget.controller!.isFullScreen.value)
|
||||
<void>{widget.controller!.triggerFullScreen(status: false)}
|
||||
else
|
||||
<void>{
|
||||
if (MediaQuery.of(context).orientation ==
|
||||
Orientation.landscape &&
|
||||
!horizontalScreen)
|
||||
{
|
||||
verticalScreenForTwoSeconds(),
|
||||
},
|
||||
Get.back()
|
||||
}
|
||||
onPressed: () {
|
||||
if (widget.controller!.isFullScreen.value) {
|
||||
widget.controller!.triggerFullScreen(status: false);
|
||||
} else if (MediaQuery.of(context).orientation ==
|
||||
Orientation.landscape &&
|
||||
!horizontalScreen) {
|
||||
verticalScreenForTwoSeconds();
|
||||
} else {
|
||||
Get.back();
|
||||
}
|
||||
},
|
||||
)),
|
||||
if ((videoIntroController.videoDetail.value.title != null) &&
|
||||
|
||||
Reference in New Issue
Block a user