mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
@@ -200,14 +200,10 @@ class _VideoDetailPageVState extends State<VideoDetailPageV>
|
|||||||
|
|
||||||
videoDetailController.animationController.addListener(animListener);
|
videoDetailController.animationController.addListener(animListener);
|
||||||
|
|
||||||
if (removeSafeArea) {
|
_listenerFS =
|
||||||
_listenerFS =
|
videoDetailController.plPlayerController.isFullScreen.listen((value) {
|
||||||
videoDetailController.plPlayerController.isFullScreen.listen((value) {
|
refreshPage();
|
||||||
if (videoDetailController.direction.value == 'vertical') {
|
});
|
||||||
refreshPage();
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
WidgetsBinding.instance.addObserver(this);
|
WidgetsBinding.instance.addObserver(this);
|
||||||
}
|
}
|
||||||
@@ -714,8 +710,8 @@ class _VideoDetailPageVState extends State<VideoDetailPageV>
|
|||||||
: videoDetailController.videoHeight,
|
: videoDetailController.videoHeight,
|
||||||
flexibleSpace: Stack(
|
flexibleSpace: Stack(
|
||||||
children: [
|
children: [
|
||||||
Obx(
|
Builder(
|
||||||
() {
|
builder: (context) {
|
||||||
final double videoWidth = context.width;
|
final double videoWidth = context.width;
|
||||||
if (MediaQuery.of(context).orientation ==
|
if (MediaQuery.of(context).orientation ==
|
||||||
Orientation.landscape &&
|
Orientation.landscape &&
|
||||||
|
|||||||
Reference in New Issue
Block a user