From 82570b7f345ccf9a49baf3b77a3d85f3d22b0994 Mon Sep 17 00:00:00 2001 From: Arkadiusz Fal Date: Sun, 23 Nov 2025 17:02:07 +0100 Subject: [PATCH] Fix SwiftFormat indentation in VideoContextMenuView Applied SwiftFormat indentation rules to conditional overlay block in iOS-specific code. --- Shared/Views/VideoContextMenuView.swift | 26 ++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/Shared/Views/VideoContextMenuView.swift b/Shared/Views/VideoContextMenuView.swift index 14b87b28..2bb1b23c 100644 --- a/Shared/Views/VideoContextMenuView.swift +++ b/Shared/Views/VideoContextMenuView.swift @@ -34,19 +34,19 @@ struct VideoContextMenuView: View { var body: some View { ZStack { #if os(iOS) - // Conditional overlay to block taps on underlying views - if isOverlayVisible { - Color.clear - .contentShape(Rectangle()) - .onTapGesture { - // Dismiss overlay without triggering other interactions - isOverlayVisible = false - } - .ignoresSafeArea() // Ensure overlay covers the entire screen - .accessibilityLabel("Dismiss context menu") - .accessibilityHint("Tap to close the context") - .accessibilityAddTraits(.isButton) - } + // Conditional overlay to block taps on underlying views + if isOverlayVisible { + Color.clear + .contentShape(Rectangle()) + .onTapGesture { + // Dismiss overlay without triggering other interactions + isOverlayVisible = false + } + .ignoresSafeArea() // Ensure overlay covers the entire screen + .accessibilityLabel("Dismiss context menu") + .accessibilityHint("Tap to close the context") + .accessibilityAddTraits(.isButton) + } #endif if video.videoID != Video.fixtureID {