mirror of
https://github.com/yattee/yattee.git
synced 2025-08-06 10:44:06 +00:00
Merge pull request #655 from stonerl/chapter-title-on-jump
Chapter title on jump
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user