We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0107e49 commit a4e6214Copy full SHA for a4e6214
Sources/RadiantKit/ViewExtensions/SingleWindowView.swift
@@ -77,17 +77,17 @@
77
}
78
79
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()
+ #else
+ extension WindowGroup {
+ /// Initializes a new instance of the `WindowGroup` with a single window
+ /// view.
+ /// - Parameter _: The type of the `SingleWindowView`.
+ @MainActor
+ public init(singleOf _: Content.Type) where Content: SingleWindowView {
+ self.init {
+ Content()
89
+ }
90
91
- }
-}
92
-#endif
+ #endif
93
#endif
0 commit comments