Fix SwiftFormat indentation in VideoContextMenuView

Applied SwiftFormat indentation rules to conditional overlay block in iOS-specific code.
This commit is contained in:
Arkadiusz Fal
2025-11-23 17:02:07 +01:00
parent e43eddc8e7
commit 82570b7f34

View File

@@ -34,19 +34,19 @@ struct VideoContextMenuView: View {
var body: some View { var body: some View {
ZStack { ZStack {
#if os(iOS) #if os(iOS)
// Conditional overlay to block taps on underlying views // Conditional overlay to block taps on underlying views
if isOverlayVisible { if isOverlayVisible {
Color.clear Color.clear
.contentShape(Rectangle()) .contentShape(Rectangle())
.onTapGesture { .onTapGesture {
// Dismiss overlay without triggering other interactions // Dismiss overlay without triggering other interactions
isOverlayVisible = false isOverlayVisible = false
} }
.ignoresSafeArea() // Ensure overlay covers the entire screen .ignoresSafeArea() // Ensure overlay covers the entire screen
.accessibilityLabel("Dismiss context menu") .accessibilityLabel("Dismiss context menu")
.accessibilityHint("Tap to close the context") .accessibilityHint("Tap to close the context")
.accessibilityAddTraits(.isButton) .accessibilityAddTraits(.isButton)
} }
#endif #endif
if video.videoID != Video.fixtureID { if video.videoID != Video.fixtureID {