Merge pull request #655 from stonerl/chapter-title-on-jump

Chapter title on jump
This commit is contained in:
Arkadiusz Fal
2024-05-16 18:16:24 +02:00
committed by GitHub
4 changed files with 13 additions and 4 deletions

View File

@@ -15,7 +15,7 @@ import SwiftUI
var body: some View {
Button(action: {
player.backend.seek(to: chapter.start, seekType: .userInteracted)
player.backend.seek(to: chapter.start, seekType: .chapterSkip(chapter.title))
}) {
Group {
verticalChapter
@@ -72,7 +72,7 @@ import SwiftUI
var body: some View {
Button {
player.backend.seek(to: chapter.start, seekType: .userInteracted)
player.backend.seek(to: chapter.start, seekType: .chapterSkip(chapter.title))
} label: {
Group {
horizontalChapter