From acbbf74bca6d6854fa09c0c8884c6d37111b2372 Mon Sep 17 00:00:00 2001 From: Erik Johansson Date: Wed, 18 Apr 2018 23:00:02 +0200 Subject: [PATCH] Digoo DG-SO38H reports weight in kg at least according to a comment on Google Play: "I have a DHG-S038H scale. The app show weight measurements in KG even if pounds is selected. Scale say lb, but app give me kg value but with lb on the screen. Scale reads 238lb, but app displays 108.2lb. This is my only problem with this app." --- .../health/openscale/core/bluetooth/BluetoothDigooDGSO38H.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android_app/app/src/main/java/com/health/openscale/core/bluetooth/BluetoothDigooDGSO38H.java b/android_app/app/src/main/java/com/health/openscale/core/bluetooth/BluetoothDigooDGSO38H.java index 25830eb8..65fb3fc9 100644 --- a/android_app/app/src/main/java/com/health/openscale/core/bluetooth/BluetoothDigooDGSO38H.java +++ b/android_app/app/src/main/java/com/health/openscale/core/bluetooth/BluetoothDigooDGSO38H.java @@ -138,7 +138,7 @@ public class BluetoothDigooDGSO38H extends BluetoothCommunication { scaleBtData.setWater(water); scaleBtData.setBone(boneWeight); } - scaleBtData.setConvertedWeight(weight, selectedUser.getScaleUnit()); + scaleBtData.setWeight(weight); addScaleData(scaleBtData); } }