mirror of
https://github.com/yattee/yattee.git
synced 2025-08-09 20:24:06 +00:00
New details page button
This commit is contained in:
@@ -8,14 +8,10 @@ struct ChaptersView: View {
|
||||
var body: some View {
|
||||
if let chapters = player.currentVideo?.chapters, !chapters.isEmpty {
|
||||
List {
|
||||
Section(header: Text("Chapters")) {
|
||||
Section {
|
||||
ForEach(chapters) { chapter in
|
||||
ChapterView(chapter: chapter)
|
||||
}
|
||||
Color.clear.frame(height: 50)
|
||||
.listRowBackground(Color.clear)
|
||||
.backport
|
||||
.listRowSeparator(false)
|
||||
}
|
||||
.listRowBackground(Color.clear)
|
||||
}
|
||||
|
Reference in New Issue
Block a user