Skip to content

Commit 98c43b3

Browse files
committed
fix macos builds
1 parent de6dc44 commit 98c43b3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Sources/SwiftUILayoutGuides/SwiftUILayoutGuides.swift

+2
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,7 @@ struct LayoutGuidesModifier: ViewModifier {
266266
}
267267
}
268268

269+
#if os(iOS)
269270
@available(iOS 16.0, *)
270271
struct SwiftUILayoutGuides_Previews: PreviewProvider {
271272
static func sample<Content>(_ title: String, _ content: () -> Content) -> some View
@@ -304,3 +305,4 @@ struct LayoutGuidesModifier: ViewModifier {
304305
}
305306
}
306307
#endif
308+
#endif

0 commit comments

Comments
 (0)