Skip to content

Commit 3496957

Browse files
committed
Fix macOS build error
1 parent 8fb4594 commit 3496957

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Sources/ScrollKit/Examples/Spotify+PreviewScreen.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ private extension View {
105105
#endif
106106
}
107107

108+
#if os(iOS)
108109
#Preview("Sheet") {
109110

110111
struct Preview: View {
@@ -126,3 +127,5 @@ private extension View {
126127

127128
return Preview()
128129
}
130+
#endif
131+

0 commit comments

Comments
 (0)