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() {