mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-30 14:02:56 +01:00
Garmin Instinct 2X Solar: Fix recognition of some watches
This commit is contained in:
parent
5be0c612c6
commit
afff822ab1
@ -8,7 +8,8 @@ import nodomain.freeyourgadget.gadgetbridge.devices.garmin.GarminCoordinator;
|
||||
public class GarminInstinct2XSolarCoordinator extends GarminCoordinator {
|
||||
@Override
|
||||
protected Pattern getSupportedDeviceName() {
|
||||
return Pattern.compile("^Instinct 2X Sol$");
|
||||
// Allow ending both with "Sol" (#3063) and "Solar" (reported on Matrix).
|
||||
return Pattern.compile("^Instinct 2X Sol(ar)?$");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user