From 0aa3966001429b577b4c88edf351fa1a85e33200 Mon Sep 17 00:00:00 2001 From: Alexander Romanov Date: Sat, 17 Jun 2023 00:35:33 +0300 Subject: [PATCH] Delete ignore safe area from page view --- Sources/OversizeUI/Controls/PageView/PageView.swift | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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) } }