photo view ignores bottom edge of safe area (#1708)
This commit is contained in:
parent
a86048de33
commit
330aa93437
|
@ -17,10 +17,12 @@ public struct MediaUIView: View, @unchecked Sendable {
|
||||||
DisplayView(data: $0)
|
DisplayView(data: $0)
|
||||||
.containerRelativeFrame([.horizontal, .vertical])
|
.containerRelativeFrame([.horizontal, .vertical])
|
||||||
.id($0)
|
.id($0)
|
||||||
|
.safeAreaPadding($0.type == .av ? [.bottom] : [])
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.scrollTargetLayout()
|
.scrollTargetLayout()
|
||||||
}
|
}
|
||||||
|
.ignoresSafeArea(.all, edges: .bottom)
|
||||||
.focusable()
|
.focusable()
|
||||||
.focused($isFocused)
|
.focused($isFocused)
|
||||||
.focusEffectDisabled()
|
.focusEffectDisabled()
|
||||||
|
|
Loading…
Reference in New Issue