Skip to content

Commit

Permalink
fix: adding new value to the chart in the line chart widget (exelban#…
Browse files Browse the repository at this point in the history
  • Loading branch information
exelban committed Aug 21, 2023
1 parent 0fccc21 commit 97e0a11
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Kit/Widgets/LineChart.swift
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,7 @@ public class LineChart: WidgetWrapper {
guard self._value != newValue else { return }
self._value = newValue
DispatchQueue.main.async(execute: {
self.chart.addValue(newValue)
self.display()
})
}
Expand Down

0 comments on commit 97e0a11

Please sign in to comment.