1
0
mirror of https://github.com/oliexdev/openScale.git synced 2025-08-21 07:51:46 +02:00

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."
This commit is contained in:
Erik Johansson
2018-04-18 23:00:02 +02:00
parent e71a4258ba
commit acbbf74bca

View File

@@ -138,7 +138,7 @@ public class BluetoothDigooDGSO38H extends BluetoothCommunication {
scaleBtData.setWater(water); scaleBtData.setWater(water);
scaleBtData.setBone(boneWeight); scaleBtData.setBone(boneWeight);
} }
scaleBtData.setConvertedWeight(weight, selectedUser.getScaleUnit()); scaleBtData.setWeight(weight);
addScaleData(scaleBtData); addScaleData(scaleBtData);
} }
} }