From c847079cd26eb01b237b3310ab65dca2d6b793be Mon Sep 17 00:00:00 2001 From: enoint Date: Sun, 16 Jun 2024 11:32:31 +0200 Subject: [PATCH] fix device name regex --- .../devices/hama/fit6900/HamaFit6900DeviceCoordinator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/devices/hama/fit6900/HamaFit6900DeviceCoordinator.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/devices/hama/fit6900/HamaFit6900DeviceCoordinator.java index d5fef4042..43aa75c69 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/devices/hama/fit6900/HamaFit6900DeviceCoordinator.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/devices/hama/fit6900/HamaFit6900DeviceCoordinator.java @@ -40,7 +40,7 @@ public final class HamaFit6900DeviceCoordinator extends AbstractBLEDeviceCoordin @Override protected Pattern getSupportedDeviceName() { - return Pattern.compile("Fit6900"); + return Pattern.compile("^Fit6900$"); } @Override