Skip to content

Commit 39c59d9

Browse files
authored
Fix DynamicViewContainer.Value match logic (#607)
Co-authored-by: pookjw [email protected]
1 parent 0de73f3 commit 39c59d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/OpenSwiftUICore/View/DynamicView/DynamicView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ private struct DynamicViewContainer<V>: StatefulRule, AsyncAttribute where V: Dy
111111
}
112112

113113
func matches(type: Any.Type, id: V.ID?) -> Bool {
114-
self.type == type && id.map { $0 == id } != false
114+
self.type == type && id.map { $0 == self.id } != false
115115
}
116116
}
117117
}

0 commit comments

Comments
 (0)