Merge branch 'fix'

This commit is contained in:
guozhigq
2024-05-01 22:52:13 +08:00

View File

@ -535,6 +535,9 @@ class _VideoDetailPageState extends State<VideoDetailPage>
controller: _extendNestCtr,
headerSliverBuilder:
(BuildContext context2, bool innerBoxIsScrolled) {
return <Widget>[
Obx(
() {
final Orientation orientation =
MediaQuery.of(context).orientation;
final bool isFullScreen =
@ -546,9 +549,6 @@ class _VideoDetailPageState extends State<VideoDetailPage>
? 0
: MediaQuery.of(context).padding.top))
: videoHeight.value;
return <Widget>[
Obx(
() {
if (orientation == Orientation.landscape ||
isFullScreen) {
enterFullScreen();