mirror of
https://github.com/oliexdev/openScale.git
synced 2025-09-01 04:22:26 +02:00
added another mi scale 2 device name, see issue #474
This commit is contained in:
@@ -82,7 +82,7 @@ public class BluetoothFactory {
|
|||||||
if (name.equals("MI_SCALE".toLowerCase(Locale.US))) {
|
if (name.equals("MI_SCALE".toLowerCase(Locale.US))) {
|
||||||
return new BluetoothMiScale(context);
|
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);
|
return new BluetoothMiScale2(context);
|
||||||
}
|
}
|
||||||
if (name.equals("Health Scale".toLowerCase(Locale.US))) {
|
if (name.equals("Health Scale".toLowerCase(Locale.US))) {
|
||||||
|
Reference in New Issue
Block a user