fix: removed check that prevents updates of line chart when the same value

This commit is contained in:
Serhiy Mytrovtsiy
2024-06-07 20:21:58 +02:00
parent f3f43dae80
commit d8c127e4d2

View File

@@ -242,7 +242,6 @@ public class LineChart: WidgetWrapper {
}
public func setValue(_ newValue: Double) {
guard self._value != newValue else { return }
self._value = newValue
DispatchQueue.main.async(execute: {
self.chart.addValue(newValue)