mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2025-01-10 21:54:10 +01:00
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
Block a user