diff --git a/lib/pages/video/detail/controller.dart b/lib/pages/video/detail/controller.dart index 0893d0b2..2a205ba2 100644 --- a/lib/pages/video/detail/controller.dart +++ b/lib/pages/video/detail/controller.dart @@ -114,13 +114,7 @@ extension SegmentTypeExt on SegmentType { enum SkipType { alwaysSkip, skipOnce, skipManually, showOnly, disable } extension SkipTypeExt on SkipType { - String get title => [ - '总是跳过', - '跳过一次', - '手动跳过', - '仅显示', - '禁用', - ][index]; + String get title => ['总是跳过', '跳过一次', '手动跳过', '仅显示', '禁用'][index]; } class SegmentModel { @@ -828,6 +822,9 @@ class VideoDetailController extends GetxController positionSubscription = plPlayerController .videoPlayerController?.stream.position .listen((position) async { + if (isShowCover.value) { + return; + } int currentPos = position.inSeconds; if (currentPos != _lastPos) { _lastPos = currentPos;