From 5cf53f8cfab3f9ce16bf2d60f0ce94aff3fe2367 Mon Sep 17 00:00:00 2001 From: edde746 <86283021+edde746@users.noreply.github.com> Date: Tue, 7 Apr 2026 17:57:45 +0200 Subject: [PATCH] fix: chapter keyboard shortcuts navigate chapters not episodes close #820 --- lib/widgets/video_controls/video_controls.dart | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/lib/widgets/video_controls/video_controls.dart b/lib/widgets/video_controls/video_controls.dart index cc738e8c..8aeeeaba 100644 --- a/lib/widgets/video_controls/video_controls.dart +++ b/lib/widgets/video_controls/video_controls.dart @@ -682,19 +682,9 @@ class _PlexVideoControlsState extends State with WindowListen widget.onCycleSubtitleTrack?.call(); } - void _nextChapter() { - // Go to next chapter - this would use your existing chapter navigation - if (widget.onNext != null) { - widget.onNext!(); - } - } + void _nextChapter() => _seekToNextChapter(); - void _previousChapter() { - // Go to previous chapter - this would use your existing chapter navigation - if (widget.onPrevious != null) { - widget.onPrevious!(); - } - } + void _previousChapter() => _seekToPreviousChapter(); @override void dispose() {