# HG changeset patch # User Dennis Concepción Martín <66180929+denniscm190@users.noreply.github.com> # Date 1623852095 -7200 # Node ID 468e6857c4ce16440e60b1f3e1b387fdb78b0549 # Parent e0c0306fb079bdfea95c98056a15c380568b35bd Unwrap optional path.current diff -r e0c0306fb079 -r 468e6857c4ce Sources/StockCharts/LineChart/Helpers/LinePath.swift --- a/Sources/StockCharts/LineChart/Helpers/LinePath.swift Sun Jun 06 18:47:19 2021 +0200 +++ b/Sources/StockCharts/LineChart/Helpers/LinePath.swift Wed Jun 16 16:01:35 2021 +0200 @@ -31,7 +31,7 @@ } // Append current point to an array. Later will be used for Drag Gesture - pathPoints.append(path.currentPoint!) + pathPoints.append(path.currentPoint ?? CGPoint(x: 0, y: 0)) } DispatchQueue.main.async { diff -r e0c0306fb079 -r 468e6857c4ce StockCharts.xcodeproj/project.xcworkspace/xcuserdata/dennis.xcuserdatad/UserInterfaceState.xcuserstate Binary file StockCharts.xcodeproj/project.xcworkspace/xcuserdata/dennis.xcuserdatad/UserInterfaceState.xcuserstate has changed