fix(player): 恢复详情与选集全屏播放

This commit is contained in:
Zhou Weidong committed 2026-10-19 15:24:06 +08:00
1 parent 04fddce1d1
commit 1c94b727fb
14 files changed
+102 -1280

No files matched your search

-12
View File
@@ -531,18 +531,6 @@ class PlayerLogic extends ChangeNotifier {
: null;
}
bool get hasNextEpisode => nextVisibleIndex(session.currentIndex) != null;
Future<void> playNextEpisode() async {
final next = nextVisibleIndex(session.currentIndex);
if (next == null || !pages.hasClients) return;
await pages.animateToPage(
visibleIndices.indexOf(next),
duration: const Duration(milliseconds: 250),
curve: Curves.easeOutCubic,
);
}
void beginScrub(VideoPlayerPort player) {
if (session.active != player) return;
scrubbingPlayer = player;