Skip to content

Commit ffe50c9

Browse files
committed
Fix DynamicLayoutMap.remove
1 parent 7b4928d commit ffe50c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/OpenSwiftUICore/Layout/Dynamic/DynamicLayoutMap.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ package struct DynamicLayoutMap {
6565
return
6666
}
6767
while endIndex != map.count {
68-
let indexUniqueId = map[index].id.uniqueId
68+
let indexUniqueId = map[endIndex].id.uniqueId
6969
guard indexUniqueId == uniqueId else {
7070
break
7171
}

0 commit comments

Comments
 (0)