1
0
mirror of https://github.com/oliexdev/openScale.git synced 2025-08-19 06:51:57 +02:00

set indicator evaluation flag correctly for lb and st, see #467

This commit is contained in:
oliexdev
2019-05-12 21:43:22 +02:00
parent 00fc884590
commit f2faf6717c

View File

@@ -64,6 +64,6 @@ public class WeightMeasurementView extends FloatMeasurementView {
@Override
protected EvaluationResult evaluateSheet(EvaluationSheet evalSheet, float value) {
return evalSheet.evaluateWeight(value);
return evalSheet.evaluateWeight(Converters.toKilogram(value, getScaleUser().getScaleUnit()));
}
}