New details page button

This commit is contained in:
Arkadiusz Fal
2022-12-18 22:34:22 +01:00
parent 467f50715c
commit 9bde57e4eb
4 changed files with 149 additions and 52 deletions

View File

@@ -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)
}