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