Skip to content

Commit

Permalink
fix: call .setNeedsDisplay when view is recycled
Browse files Browse the repository at this point in the history
  • Loading branch information
vcellu committed Aug 4, 2022
1 parent df0691f commit 5591a96
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ios/DataCellView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ class DataCellView: UICollectionViewCell {
if let miniChart = views[index] as? MiniChartView {
miniChart.frame = newFrame.integral
miniChart.setChartData(data: element, representedAs: representation)
miniChart.setNeedsDisplay()
}
}
else {
Expand Down

0 comments on commit 5591a96

Please sign in to comment.