forked from shadowfacts/Tusker
Fix compose toolbar background not extending to full width on landscape iPhones
This commit is contained in:
parent
473ef018c9
commit
f84694b809
|
@ -100,9 +100,10 @@ class ToolbarController: ViewController {
|
||||||
.scrollDisabledIfAvailable(realWidth ?? 0 <= minWidth ?? 0)
|
.scrollDisabledIfAvailable(realWidth ?? 0 <= minWidth ?? 0)
|
||||||
.frame(height: ToolbarController.height)
|
.frame(height: ToolbarController.height)
|
||||||
.frame(maxWidth: .infinity)
|
.frame(maxWidth: .infinity)
|
||||||
.background(.regularMaterial, ignoresSafeAreaEdges: .bottom)
|
.background(.regularMaterial, ignoresSafeAreaEdges: [.bottom, .leading, .trailing])
|
||||||
.overlay(alignment: .top) {
|
.overlay(alignment: .top) {
|
||||||
Divider()
|
Divider()
|
||||||
|
.edgesIgnoringSafeArea([.leading, .trailing])
|
||||||
}
|
}
|
||||||
.background(GeometryReader { proxy in
|
.background(GeometryReader { proxy in
|
||||||
Color.clear
|
Color.clear
|
||||||
|
|
Loading…
Reference in New Issue