mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-29 13:26:50 +01:00
Fix device name for Amazfit GTS 2e (#2192)
Fixes device name for Amazfit GTS 2e Co-Authored-By: pommes <pommes@noreply.codeberg.org> Co-Committed-By: pommes <pommes@noreply.codeberg.org>
This commit is contained in:
parent
6d02e8c488
commit
6fb483c3a6
@ -47,7 +47,7 @@ public class AmazfitGTS2eCoordinator extends HuamiCoordinator {
|
||||
try {
|
||||
BluetoothDevice device = candidate.getDevice();
|
||||
String name = device.getName();
|
||||
if (name != null && name.equalsIgnoreCase("Amazfit GTR 2e")) {
|
||||
if (name != null && name.equalsIgnoreCase("Amazfit GTS 2e")) {
|
||||
return DeviceType.AMAZFITGTS2E;
|
||||
}
|
||||
} catch (Exception ex) {
|
||||
|
Loading…
Reference in New Issue
Block a user