From d1705d40c1db9e32ad403b9db5d020a0dd8309e2 Mon Sep 17 00:00:00 2001 From: oliexdev Date: Mon, 2 Sep 2019 09:47:03 +0200 Subject: [PATCH] added MIBFS as a mi scale v2 identifier --- .../com/health/openscale/core/bluetooth/BluetoothFactory.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android_app/app/src/main/java/com/health/openscale/core/bluetooth/BluetoothFactory.java b/android_app/app/src/main/java/com/health/openscale/core/bluetooth/BluetoothFactory.java index 75b15323..c94865dd 100644 --- a/android_app/app/src/main/java/com/health/openscale/core/bluetooth/BluetoothFactory.java +++ b/android_app/app/src/main/java/com/health/openscale/core/bluetooth/BluetoothFactory.java @@ -84,7 +84,7 @@ public class BluetoothFactory { if (name.equals("MI_SCALE".toLowerCase(Locale.US)) || name.equals("MI SCALE2".toLowerCase(Locale.US))) { return new BluetoothMiScale(context); } - if (name.equals("MIBCS".toLowerCase(Locale.US))) { + if (name.equals("MIBCS".toLowerCase(Locale.US)) || name.equals("MIBFS".toLowerCase(Locale.US))) { return new BluetoothMiScale2(context); } if (name.equals("Health Scale".toLowerCase(Locale.US))) {