Skip to content

Commit 328a0b4

Browse files
authored
Disfavor charts initializer. (#151)
1 parent d8e2110 commit 328a0b4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Sources/PerceptionCore/SwiftUI/WithPerceptionTracking.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,7 @@
213213

214214
@available(iOS 16, macOS 13, tvOS 16, watchOS 9, *)
215215
extension WithPerceptionTracking: ChartContent where Content: ChartContent {
216+
@_disfavoredOverload
216217
public init(@ChartContentBuilder content: @escaping () -> Content) {
217218
self.init(content: content())
218219
}

0 commit comments

Comments
 (0)