Fix compose toolbar background not extending to full width on landscape iPhones

This commit is contained in:
Shadowfacts 2023-05-28 15:34:56 -07:00
parent 473ef018c9
commit f84694b809
1 changed files with 2 additions and 1 deletions

View File

@ -100,9 +100,10 @@ class ToolbarController: ViewController {
.scrollDisabledIfAvailable(realWidth ?? 0 <= minWidth ?? 0)
.frame(height: ToolbarController.height)
.frame(maxWidth: .infinity)
.background(.regularMaterial, ignoresSafeAreaEdges: .bottom)
.background(.regularMaterial, ignoresSafeAreaEdges: [.bottom, .leading, .trailing])
.overlay(alignment: .top) {
Divider()
.edgesIgnoringSafeArea([.leading, .trailing])
}
.background(GeometryReader { proxy in
Color.clear