File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed
Shared/Samples/Trace utility network Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -158,20 +158,16 @@ extension TraceUtilityNetworkView {
158158 fractionalLengthClosestTo: mapPoint,
159159 tolerance: - 1
160160 )
161- Task {
162- updateUserHint (
163- withMessage: String ( format: " fractionAlongEdge: %.3f " , element. fractionAlongEdge)
164- )
165- }
161+ updateUserHint (
162+ withMessage: String ( format: " fractionAlongEdge: %.3f " , element. fractionAlongEdge)
163+ )
166164 add ( element, at: mapPoint)
167165 }
168166 @unknown default :
169167 return
170168 }
171169 } else {
172- Task {
173- updateUserHint ( withMessage: " An error occurred while adding element to the trace. " )
174- }
170+ updateUserHint ( withMessage: " An error occurred while adding element to the trace. " )
175171 }
176172 }
177173
You can’t perform that action at this time.
0 commit comments