1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-12-26 18:45:49 +01:00

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

This commit is contained in:
Andreas Shimokawa 2021-01-29 01:00:09 +01:00
parent 614d711226
commit 251aee8c74

View File

@ -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) {