Skip to content

Commit caed658

Browse files
committed
Fix safe area for views by adding ignoresSafeArea into RootViewModifier
1 parent 70c47e4 commit caed658

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CountriesSwiftUI/UI/RootViewModifier.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ struct RootViewAppearance: ViewModifier {
2020
func body(content: Content) -> some View {
2121
content
2222
.blur(radius: isActive ? 0 : 10)
23+
.ignoresSafeArea()
2324
.onReceive(stateUpdate) { self.isActive = $0 }
2425
.onReceive(inspection.notice) { self.inspection.visit(self, $0) }
2526
}

0 commit comments

Comments
 (0)