Fix chart range slider theming

This commit is contained in:
Ilya Laktyushin
2020-03-23 16:17:34 +04:00
parent 66f5d741db
commit bd1d7f58d4
7 changed files with 47 additions and 193 deletions

View File

@@ -316,9 +316,7 @@ extension RangeChartView: ChartThemeContainer {
self.upperBoundTintView.backgroundColor = theme.rangeViewTintColor
}
let image = UIImage(bundleImageName: "Chart/selection_frame_light")
self.cropFrameView.setImage(image, animated: animated)
self.cropFrameView.setImage(theme.rangeCropImage, animated: animated)
if animated {
UIView.animate(withDuration: .defaultDuration, animations: closure)