File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -326,7 +326,8 @@ private class DependencyObjects: @unchecked Sendable {
326326 internal init ( ) { }
327327
328328 func store( _ object: AnyObject ) {
329- self . storage. withValue { [ id = ObjectIdentifier ( object) , object = UncheckedSendable ( object) ] storage in
329+ self . storage. withValue {
330+ [ id = ObjectIdentifier ( object) , object = UncheckedSendable ( object) ] storage in
330331 storage [ id] = DependencyObject (
331332 object: object. wrappedValue,
332333 dependencyValues: DependencyValues . _current
@@ -347,9 +348,9 @@ private class DependencyObjects: @unchecked Sendable {
347348 . compactMap ( { $1 as? _HasInitialValues } )
348349 . first?
349350 . initialValues
350- ?? self . storage. withValue ( { [ id = ObjectIdentifier ( object) ] in
351- $0 [ id] ? . dependencyValues
352- } )
351+ ?? self . storage. withValue ( { [ id = ObjectIdentifier ( object) ] in
352+ $0 [ id] ? . dependencyValues
353+ } )
353354 }
354355}
355356
You can’t perform that action at this time.
0 commit comments