From bd51dfc0b633a92693b42f964591d382f92f362c Mon Sep 17 00:00:00 2001 From: Thomas Ricouard Date: Mon, 1 Jan 2024 18:31:55 +0100 Subject: [PATCH] Fix safe area on media viewer --- Packages/MediaUI/Sources/MediaUI/MediaUIView.swift | 2 -- 1 file changed, 2 deletions(-) diff --git a/Packages/MediaUI/Sources/MediaUI/MediaUIView.swift b/Packages/MediaUI/Sources/MediaUI/MediaUIView.swift index 026318d4..6b86ad52 100644 --- a/Packages/MediaUI/Sources/MediaUI/MediaUIView.swift +++ b/Packages/MediaUI/Sources/MediaUI/MediaUIView.swift @@ -17,12 +17,10 @@ public struct MediaUIView: View, @unchecked Sendable { DisplayView(data: $0) .containerRelativeFrame([.horizontal, .vertical]) .id($0) - .safeAreaPadding($0.type == .av ? [.bottom] : []) } } .scrollTargetLayout() } - .ignoresSafeArea(.all, edges: .bottom) .focusable() .focused($isFocused) .focusEffectDisabled()