File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Sources/DiffableTextViewsXiOS Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -112,8 +112,9 @@ public struct DiffableTextField<Style: DiffableTextStyleXiOS>: UIViewRepresentab
112112 //=--------------------------------------------------------------------=
113113
114114 @inlinable func update( _ upstream: DiffableTextField , _ environment: EnvironmentValues ) {
115- self . upstream = upstream; self . environment = environment
116- self . synchronize ( ) ; self . downstream. transform ( environment. diffableTextField_onUpdate)
115+ self . upstream = upstream; self . environment = environment
116+ self . synchronize ( ) // on update is same as on did update
117+ self . downstream. transform ( environment. diffableTextField_onUpdate)
117118 }
118119
119120 //=--------------------------------------------------------------------=
You can’t perform that action at this time.
0 commit comments