Fix safe area on media viewer

This commit is contained in:
Thomas Ricouard 2024-01-01 18:31:55 +01:00
parent ce845cd6b3
commit bd51dfc0b6

View file

@ -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()