diff --git a/Sources/BottomSheet/BottomSheetView.swift b/Sources/BottomSheet/BottomSheetView.swift index 18433f501..97ebe7a71 100644 --- a/Sources/BottomSheet/BottomSheetView.swift +++ b/Sources/BottomSheet/BottomSheetView.swift @@ -7,6 +7,7 @@ import SwiftUI +@available(iOSApplicationExtension, unavailable) internal struct BottomSheetView: View where bottomSheetPositionEnum.RawValue == CGFloat, bottomSheetPositionEnum: CaseIterable { @State private var translation: CGFloat = 0 @@ -251,6 +252,7 @@ internal struct BottomSheetView>>, _PaddingLayout> { init(bottomSheetPosition: Binding, options: [BottomSheet.Options], title: String?, @ViewBuilder content: () -> mContent) { if title == nil { diff --git a/Sources/BottomSheet/ViewExtension.swift b/Sources/BottomSheet/ViewExtension.swift index 3d3500872..7dfab9e0f 100644 --- a/Sources/BottomSheet/ViewExtension.swift +++ b/Sources/BottomSheet/ViewExtension.swift @@ -7,6 +7,7 @@ import SwiftUI +@available(iOSApplicationExtension, unavailable) public extension View { /** A modifer to add a BottomSheet to your view.