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:
@@ -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))) {
|
||||
|
Reference in New Issue
Block a user