Amazfit GTS2 mini: Fix device name as stated in #2152

This commit is contained in:
Andreas Shimokawa
2021-01-29 01:00:57 +01:00
parent 614d711226
commit 251aee8c74
@@ -44,7 +44,7 @@ public class AmazfitGTS2MiniCoordinator extends AmazfitGTS2Coordinator {
try {
BluetoothDevice device = candidate.getDevice();
String name = device.getName();
if (name != null && name.equalsIgnoreCase("Amazfit GTS 2 Mini")) {
if (name != null && name.equalsIgnoreCase("Amazfit GTS2 mini")) {
return DeviceType.AMAZFITGTS2_MINI;
}
} catch (Exception ex) {