From a33a1d76583ba4558d43f0d76092f2c731fd8a8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Toni=20F=C3=B6rster?= Date: Wed, 22 Nov 2023 10:23:42 +0100 Subject: [PATCH] formatting --- Shared/Player/Video Details/VideoDetails.swift | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Shared/Player/Video Details/VideoDetails.swift b/Shared/Player/Video Details/VideoDetails.swift index 3c10ba58..7bd9885c 100644 --- a/Shared/Player/Video Details/VideoDetails.swift +++ b/Shared/Player/Video Details/VideoDetails.swift @@ -318,7 +318,8 @@ struct VideoDetails: View { if player.videoBeingOpened.isNil { if showChapters, !video.isLocal, - !video.chapters.isEmpty { + !video.chapters.isEmpty + { Section(header: chaptersHeader) { ChaptersView(expand: $chaptersExpanded) } @@ -331,7 +332,8 @@ struct VideoDetails: View { if showRelated, !sidebarQueue, - !(player.videoForDisplay?.related.isEmpty ?? true) { + !(player.videoForDisplay?.related.isEmpty ?? true) + { RelatedView() .padding(.horizontal) .padding(.top, 20) @@ -389,7 +391,8 @@ struct VideoDetails: View { if showScrollToTopInComments, page == .comments, comments.loaded, - comments.all.count > 3 { + comments.all.count > 3 + { Button { withAnimation { proxy.scrollTo(Self.pageMenuID)