Skip to content

Commit a4e6214

Browse files
committed
fixup! fixing multi-OS builds
1 parent 0107e49 commit a4e6214

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

Sources/RadiantKit/ViewExtensions/SingleWindowView.swift

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -77,17 +77,17 @@
7777
}
7878
}
7979
}
80-
#else
81-
extension WindowGroup {
82-
/// Initializes a new instance of the `WindowGroup` with a single window
83-
/// view.
84-
/// - Parameter _: The type of the `SingleWindowView`.
85-
@MainActor
86-
public init(singleOf _: Content.Type) where Content : SingleWindowView {
87-
self.init {
88-
Content()
80+
#else
81+
extension WindowGroup {
82+
/// Initializes a new instance of the `WindowGroup` with a single window
83+
/// view.
84+
/// - Parameter _: The type of the `SingleWindowView`.
85+
@MainActor
86+
public init(singleOf _: Content.Type) where Content: SingleWindowView {
87+
self.init {
88+
Content()
89+
}
90+
}
8991
}
90-
}
91-
}
92-
#endif
92+
#endif
9393
#endif

0 commit comments

Comments
 (0)