AppPear / ChartView

ChartView made in SwiftUI
MIT License
5.31k stars 652 forks source link

fixed error in LineChartView.swift file #249

Open crpatil1901 opened 2 years ago

crpatil1901 commented 2 years ago

Fixed optional binding error in LineChartView.swift

Description

The Optional variable self.rateValue was assigned to rateValue in an 'if statement', but the following block of code still treated rateValue as an optional, which was causing compilation error. The same property is also passed into the View while building it.