1
0
mirror of https://github.com/oliexdev/openScale.git synced 2025-08-26 17:54:50 +02:00

add Vigorun YG (#563)

This commit is contained in:
thebabush
2020-03-30 08:07:32 +02:00
committed by GitHub
parent 9fa0fb8a0b
commit 33eff10174

View File

@@ -78,7 +78,7 @@ public class BluetoothFactory {
return new BluetoothMedisanaBS44x(context, false);
}
if (deviceName.startsWith("SWAN") || name.equals("icomon".toLowerCase(Locale.US))) {
if (deviceName.startsWith("SWAN") || name.equals("icomon".toLowerCase(Locale.US)) || name.equals("YG".toLowerCase(Locale.US))) {
return new BluetoothMGB(context);
}
if (name.equals("MI_SCALE".toLowerCase(Locale.US)) || name.equals("MI SCALE2".toLowerCase(Locale.US))) {