Skip to content

Commit 42bae65

Browse files
authored
Fix duplicated attachIndirectOutputs logic in ViewOutputs (#600)
1 parent ef30a15 commit 42bae65

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Sources/OpenSwiftUICore/Data/Preference/View_Indirect.swift

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,6 @@ extension _ViewOutputs {
3737

3838
package func attachIndirectOutputs(to childOutputs: _ViewOutputs) {
3939
preferences.attachIndirectOutputs(to: childOutputs.preferences)
40-
if let target = layoutComputer?.identifier,
41-
let source = childOutputs.layoutComputer?.identifier {
42-
target.source = source
43-
}
4440
if let layoutComputer, let childLayoutComputer = childOutputs.layoutComputer {
4541
layoutComputer.identifier.source = childLayoutComputer.identifier
4642
}

0 commit comments

Comments
 (0)