Skip to content

Commit 737cbb9

Browse files
committed
Fix CoreGlue linux build issue
1 parent 1002ddc commit 737cbb9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Sources/OpenSwiftUICore/View/VariadicView.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,11 @@ extension _VariadicView.ImplicitRoot {
453453
// MARK: - ImplicitRootType
454454

455455
private struct ImplicitRootType: ViewInput {
456+
#if canImport(Darwin)
456457
static let defaultValue: _VariadicView_AnyImplicitRoot.Type = CoreGlue.shared.defaultImplicitRootType.value
458+
#else
459+
static let defaultValue: _VariadicView_AnyImplicitRoot.Type = _VStackLayout.self
460+
#endif
457461
}
458462

459463
// MARK: - _ViewInputs + ImplicitRoot

0 commit comments

Comments
 (0)