mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-26 11:56:48 +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 {
|
try {
|
||||||
BluetoothDevice device = candidate.getDevice();
|
BluetoothDevice device = candidate.getDevice();
|
||||||
String name = device.getName();
|
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;
|
return DeviceType.AMAZFITGTS2_MINI;
|
||||||
}
|
}
|
||||||
} catch (Exception ex) {
|
} catch (Exception ex) {
|
||||||
|
Loading…
Reference in New Issue
Block a user