fix: 画面比例改变无法立即生效,删除冗余代码

This commit is contained in:
orz12
2024-03-06 10:46:33 +08:00
parent b53b99de2f
commit 2a9431e4b6
2 changed files with 1 additions and 4 deletions

View File

@@ -223,6 +223,7 @@ class _PLVideoPlayerState extends State<PLVideoPlayer>
children: <Widget>[
Obx(
() => Video(
key: ValueKey(_.videoFit.value),
controller: videoController,
controls: NoVideoControls,
pauseUponEnteringBackgroundMode: !enableBackgroundPlay,