Skip to content

Commit 40bba79

Browse files
committed
Support for Callbacks, Added Markdown support, Added element: Button, Fix for iOS
1 parent 40d61b4 commit 40bba79

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Sources/DynamicUI/Views/DynamicHSplitView.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,14 @@ public struct DynamicHSplitView: View {
3838

3939
/// Generated body for SwiftUI
4040
public var body: some View {
41+
#if os(macOS)
4142
HSplitView {
4243
if let children = component.children {
4344
AnyView(dynamicUIEnvironment.buildView(for: children))
4445
}
4546
}
47+
#else
48+
EmptyView()
49+
#endif
4650
}
4751
}

0 commit comments

Comments
 (0)