mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
mod: 移除横屏状态pip限制
This commit is contained in:
@@ -275,8 +275,7 @@ class _VideoDetailPageState extends State<VideoDetailPage>
|
||||
final bool isPortrait =
|
||||
MediaQuery.of(context).orientation == Orientation.portrait;
|
||||
|
||||
/// TODO 横屏全屏状态下误触pip
|
||||
if (autoPiP && routePath.startsWith('/video') && isPortrait) {
|
||||
if (autoPiP && routePath.startsWith('/video')) {
|
||||
floating.enable(
|
||||
aspectRatio: Rational(
|
||||
videoDetailController.data.dash!.video!.first.width!,
|
||||
|
||||
Reference in New Issue
Block a user