diff --git a/Sources/OversizeUI/Controls/PageView/PageView.swift b/Sources/OversizeUI/Controls/PageView/PageView.swift index 10e485e..6e75b82 100644 --- a/Sources/OversizeUI/Controls/PageView/PageView.swift +++ b/Sources/OversizeUI/Controls/PageView/PageView.swift @@ -237,7 +237,7 @@ public struct PageView return control } - public func bottomToolbar(style: PageViewBottomType = .shadow, ignoreSafeArea: Bool = true, @ViewBuilder bottomToolbar: @escaping () -> some View) -> some View { + public func bottomToolbar(style: PageViewBottomType = .shadow, @ViewBuilder bottomToolbar: @escaping () -> some View) -> some View { VStack(spacing: .zero) { overlay( Group { @@ -266,7 +266,6 @@ public struct PageView .background(Color.surfacePrimary.shadowElevaton(style == .shadow ? .z2 : .z0)) } } - .ignoresSafeArea(edges: ignoreSafeArea ? .bottom : .top) } }