make chapters collapsible

Chapters are now collapsible by default only the first two chapters are shown. The second will be shown opaque to indicate more chapters.
This commit is contained in:
Toni Förster
2023-11-21 15:25:22 +01:00
parent eb1dfe69cd
commit e436dec4ba
3 changed files with 29 additions and 16 deletions

View File

@@ -282,7 +282,7 @@ struct PlayerSettings: View {
}
private var showChaptersToggle: some View {
Toggle("Chapters", isOn: $showChapters)
Toggle("Chapters (if available)", isOn: $showChapters)
}
private var showRelatedToggle: some View {