From 500c78706353650d6f448924e90304c063eb4a20 Mon Sep 17 00:00:00 2001 From: Arkadiusz Fal Date: Fri, 14 Nov 2025 19:07:55 +0100 Subject: [PATCH] Fix edgesIgnoringSafeArea availability for iOS only Wrapped edgesIgnoringSafeArea modifier in iOS platform check to fix build issues on other platforms. --- Shared/Videos/VerticalCells.swift | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Shared/Videos/VerticalCells.swift b/Shared/Videos/VerticalCells.swift index 23e892f4..b4396505 100644 --- a/Shared/Videos/VerticalCells.swift +++ b/Shared/Videos/VerticalCells.swift @@ -49,7 +49,9 @@ struct VerticalCells: View { .padding() } .animation(nil) - .edgesIgnoringSafeArea(edgesIgnoringSafeArea) + #if os(iOS) + .edgesIgnoringSafeArea(edgesIgnoringSafeArea) + #endif #if os(macOS) .background(Color.secondaryBackground) .frame(minWidth: Constants.contentViewMinWidth)