Skip to content

Commit 5698f92

Browse files
authored
Fix propertyWrapper (#10)
1 parent 4250c0f commit 5698f92

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Sources/ConcurrencyTaskManager/SwiftUI.swift

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,14 @@ public struct TaskManager: DynamicProperty {
1111
box.wrapper
1212
}
1313

14+
public var projectedValue: TaskManager {
15+
self
16+
}
17+
18+
public init(projectedValue: TaskManager) {
19+
self = projectedValue
20+
}
21+
1422
public init() {
1523

1624
}

0 commit comments

Comments
 (0)