Mercurial > public > stock-charts
changeset 61:d689500c785e
Add init to new argument dragGesture
author | Dennis Concepción Martín <66180929+denniscm190@users.noreply.github.com> |
---|---|
date | Fri, 07 May 2021 12:25:28 +0200 |
parents | e16e6bdaa31d |
children | a2daff375b43 |
files | Sources/StockCharts/LineChart/LineChartView.swift |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/Sources/StockCharts/LineChart/LineChartView.swift Fri May 07 12:20:48 2021 +0200 +++ b/Sources/StockCharts/LineChart/LineChartView.swift Fri May 07 12:25:28 2021 +0200 @@ -16,10 +16,11 @@ @State var showingIndicators = false @State var indexPosition = Int() - public init(data: [Double], dates: [String]?, hours: [String]?) { + public init(data: [Double], dates: [String]?, hours: [String]?, dragGesture: Bool?) { self.data = data self.dates = dates self.hours = hours + self.dragGesture = dragGesture } public var body: some View {