diff --git a/Sources/OversizeUI/Controls/PageView/PageView.swift b/Sources/OversizeUI/Controls/PageView/PageView.swift index 46c2e5b..1ef0c30 100644 --- a/Sources/OversizeUI/Controls/PageView/PageView.swift +++ b/Sources/OversizeUI/Controls/PageView/PageView.swift @@ -46,6 +46,7 @@ public struct PageView trailingBar: { trailingBar }, bottomBar: { topToolbar }, titleLabel: { titleLabel }) + .ignoresSafeArea(edges: .horizontal) .zIndex(999_999_999) } ScrollViewOffset(offset: $offset) { diff --git a/Sources/OversizeUI/Extensions/HalfSheet/HalfSheet.swift b/Sources/OversizeUI/Extensions/HalfSheet/HalfSheet.swift index c32d813..28bff48 100644 --- a/Sources/OversizeUI/Extensions/HalfSheet/HalfSheet.swift +++ b/Sources/OversizeUI/Extensions/HalfSheet/HalfSheet.swift @@ -55,9 +55,9 @@ import SwiftUI } } } - + @_disfavoredOverload - func presentationDragIndicator(_ visibility: Visibility) -> some View { + func presentationDragIndicator(_: Visibility) -> some View { self } }