mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-11-26 10:11:00 +00:00
photo view ignores bottom edge of safe area (#1708)
This commit is contained in:
parent
a86048de33
commit
330aa93437
1 changed files with 2 additions and 0 deletions
|
@ -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 a new issue