@@ -106,11 +106,11 @@ public struct DiffableTextField<Style: DiffableTextStyle>: UIViewRepresentable {
106106 //=--------------------------------------------------------------------=
107107
108108 @inlinable @inline ( never)
109- func setup( _ parent : DiffableTextField , _ environment: EnvironmentValues ) {
109+ func setup( _ upstream : DiffableTextField , _ environment: EnvironmentValues ) {
110110 //=----------------------------------=
111111 // Upstream
112112 //=----------------------------------=
113- self . upstream = Upstream ( parent , environment)
113+ self . upstream = Upstream ( upstream , environment)
114114 //=----------------------------------=
115115 // Downstream
116116 //=----------------------------------=
@@ -125,15 +125,15 @@ public struct DiffableTextField<Style: DiffableTextStyle>: UIViewRepresentable {
125125 }
126126
127127 @inlinable @inline ( never)
128- func update( _ parent : DiffableTextField , _ environment: EnvironmentValues ) {
128+ func update( _ upstream : DiffableTextField , _ environment: EnvironmentValues ) {
129129 //=----------------------------------=
130130 // Upstream
131131 //=----------------------------------=
132- self . upstream = Upstream ( parent , environment)
132+ self . upstream = Upstream ( upstream , environment)
133133 //=----------------------------------=
134134 // Downstream
135135 //=----------------------------------=
136- self . downstream. placeholder ( parent . title)
136+ self . downstream. placeholder ( upstream . title)
137137 self . downstream. autocorrectionDisabled ( environment)
138138 self . downstream. font ( environment)
139139 self . downstream. foregroundColor ( environment)
0 commit comments