mirror of
https://github.com/oliexdev/openScale.git
synced 2025-08-17 14:10:54 +02:00
moved mi scale 2 device name to mi scale, see issue #474
This commit is contained in:
@@ -79,10 +79,10 @@ public class BluetoothFactory {
|
|||||||
if (deviceName.startsWith("SWAN") || name.equals("icomon".toLowerCase(Locale.US))) {
|
if (deviceName.startsWith("SWAN") || name.equals("icomon".toLowerCase(Locale.US))) {
|
||||||
return new BluetoothMGB(context);
|
return new BluetoothMGB(context);
|
||||||
}
|
}
|
||||||
if (name.equals("MI_SCALE".toLowerCase(Locale.US))) {
|
if (name.equals("MI_SCALE".toLowerCase(Locale.US)) || name.equals("MI SCALE2".toLowerCase(Locale.US))) {
|
||||||
return new BluetoothMiScale(context);
|
return new BluetoothMiScale(context);
|
||||||
}
|
}
|
||||||
if (name.equals("MIBCS".toLowerCase(Locale.US)) || name.equals("MI SCALE2".toLowerCase(Locale.US))) {
|
if (name.equals("MIBCS".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