From 51d7e454de011ccffdb85dc6daabaf306c063386 Mon Sep 17 00:00:00 2001 From: bggRGjQaUbCoE Date: Wed, 27 Aug 2025 10:49:55 +0800 Subject: [PATCH] tweak Closes #1139 Closes #1141 Signed-off-by: bggRGjQaUbCoE --- lib/pages/whisper_detail/view.dart | 9 ++------- lib/plugin/pl_player/models/fullscreen_mode.dart | 2 +- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/lib/pages/whisper_detail/view.dart b/lib/pages/whisper_detail/view.dart index 92e043dc..62fb15c2 100644 --- a/lib/pages/whisper_detail/view.dart +++ b/lib/pages/whisper_detail/view.dart @@ -2,7 +2,6 @@ import 'dart:async'; import 'package:PiliPlus/common/widgets/image/network_img_layer.dart'; import 'package:PiliPlus/common/widgets/loading_widget/loading_widget.dart'; -import 'package:PiliPlus/common/widgets/refresh_indicator.dart'; import 'package:PiliPlus/common/widgets/text_field/text_field.dart'; import 'package:PiliPlus/grpc/bilibili/im/type.pb.dart' show Msg; import 'package:PiliPlus/http/loading_state.dart'; @@ -136,12 +135,8 @@ class _WhisperDetailPageState hidePanel(); }, behavior: HitTestBehavior.opaque, - child: refreshIndicator( - onRefresh: _whisperDetailController.onRefresh, - child: Obx( - () => - _buildBody(_whisperDetailController.loadingState.value), - ), + child: Obx( + () => _buildBody(_whisperDetailController.loadingState.value), ), ), ), diff --git a/lib/plugin/pl_player/models/fullscreen_mode.dart b/lib/plugin/pl_player/models/fullscreen_mode.dart index 9a17cb08..31d0e147 100644 --- a/lib/plugin/pl_player/models/fullscreen_mode.dart +++ b/lib/plugin/pl_player/models/fullscreen_mode.dart @@ -7,7 +7,7 @@ enum FullScreenMode { // 始终竖屏 vertical('强制竖屏'), // 始终横屏 - horizontal('强制竖屏'), + horizontal('强制横屏'), // 屏幕长宽比<1.25或为竖屏视频时竖屏,否则横屏 ratio('屏幕长宽比<1.25或为竖屏视频时竖屏,否则横屏'), // 强制重力转屏(仅安卓)