From a1bde07ee1ac651de0534af683f9614f1ae08d51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Toni=20F=C3=B6rster?= Date: Sat, 11 May 2024 17:51:35 +0200 Subject: [PATCH] don't draw chapter mark if start is 0 --- Shared/Player/Controls/TimelineView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shared/Player/Controls/TimelineView.swift b/Shared/Player/Controls/TimelineView.swift index 0058bc41..bcb126fd 100644 --- a/Shared/Player/Controls/TimelineView.swift +++ b/Shared/Player/Controls/TimelineView.swift @@ -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)