don't draw chapter mark if start is 0

This commit is contained in:
Toni Förster 2024-05-11 17:51:35 +02:00
parent 03fbb4933a
commit a1bde07ee1
No known key found for this signature in database
GPG Key ID: 292F3E5086C83FC7

View File

@ -331,7 +331,7 @@ struct TimelineView: View {
}
var chaptersLayers: some View {
ForEach(chapters) { chapter in
ForEach(chapters.filter { $0.start != 0 }) { chapter in
RoundedRectangle(cornerRadius: 4)
.fill(Color("AppRedColor"))
.frame(maxWidth: 2, maxHeight: height)