Fix safe area on media viewer
This commit is contained in:
parent
ce845cd6b3
commit
bd51dfc0b6
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue