From fd99363b663c615eedcee984579e3d6564769622 Mon Sep 17 00:00:00 2001 From: Erik Johansson Date: Sun, 17 Jun 2018 21:59:16 +0200 Subject: [PATCH] Weight from Exingtech Y1 always in kg according to comment in #282 --- .../health/openscale/core/bluetooth/BluetoothExingtechY1.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android_app/app/src/main/java/com/health/openscale/core/bluetooth/BluetoothExingtechY1.java b/android_app/app/src/main/java/com/health/openscale/core/bluetooth/BluetoothExingtechY1.java index 40f7821c..7e169a2e 100644 --- a/android_app/app/src/main/java/com/health/openscale/core/bluetooth/BluetoothExingtechY1.java +++ b/android_app/app/src/main/java/com/health/openscale/core/bluetooth/BluetoothExingtechY1.java @@ -109,7 +109,7 @@ public class BluetoothExingtechY1 extends BluetoothCommunication { final ScaleUser selectedUser = OpenScale.getInstance().getSelectedScaleUser(); - scaleBtData.setWeight(Converters.toKilogram(weight, selectedUser.getScaleUnit())); + scaleBtData.setWeight(weight); scaleBtData.setFat(fat); scaleBtData.setMuscle(muscle); scaleBtData.setWater(water);