1
0
mirror of https://github.com/oliexdev/openScale.git synced 2025-08-29 11:10:35 +02:00

added another mi scale 2 device name, see issue #474

This commit is contained in:
oliexdev
2019-06-20 10:14:15 +02:00
parent d4aa1af091
commit de55107d33

View File

@@ -82,7 +82,7 @@ public class BluetoothFactory {
if (name.equals("MI_SCALE".toLowerCase(Locale.US))) {
return new BluetoothMiScale(context);
}
if (name.equals("MIBCS".toLowerCase(Locale.US))) {
if (name.equals("MIBCS".toLowerCase(Locale.US)) || name.equals("MI SCALE2".toLowerCase(Locale.US))) {
return new BluetoothMiScale2(context);
}
if (name.equals("Health Scale".toLowerCase(Locale.US))) {