(content: Content)
| 313 | let settings: WindowSettings |
| 314 | |
| 315 | func body(content: Content) -> some View { |
| 316 | content |
| 317 | .ignoresSafeArea(edges: settings.toolbar == .unifiedInset ? .all : []) |
| 318 | .background { |
| 319 | if backdrop != .none { |
| 320 | EffectUIBackdropView(backdrop: backdrop) |
| 321 | .id(backdrop) |
| 322 | .ignoresSafeArea() |
| 323 | } |
| 324 | EffectUIWindowConfigurator(settings: settings) |
| 325 | } |
| 326 | } |
| 327 | } |
| 328 | |
| 329 | private struct EffectUIBackdropView: NSViewRepresentable { |
no test coverage detected