Fix duplicate label in FormItem on macOS
This commit is contained in:
@@ -82,6 +82,7 @@ public func FormItem(_ title: String, @ViewBuilder content: () -> some View) ->
|
|||||||
#elseif os(macOS)
|
#elseif os(macOS)
|
||||||
LabeledContent(title) {
|
LabeledContent(title) {
|
||||||
content()
|
content()
|
||||||
|
.labelsHidden()
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user