From acb6de0983e6a455f6d8a7adcce54990adf1130a Mon Sep 17 00:00:00 2001 From: Andreas Shimokawa Date: Sun, 27 Jun 2021 00:22:05 +0200 Subject: [PATCH] Pebble: Fix inverted check for firmware version Regression from 0.57.1. This could help #2329 --- .../gadgetbridge/devices/pebble/PebbleCoordinator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/devices/pebble/PebbleCoordinator.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/devices/pebble/PebbleCoordinator.java index 45d1515a4..08bc0912e 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/devices/pebble/PebbleCoordinator.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/devices/pebble/PebbleCoordinator.java @@ -170,7 +170,7 @@ public class PebbleCoordinator extends AbstractDeviceCoordinator { public boolean supportsAppListFetching() { GBDevice mGBDevice = GBApplication.app().getDeviceManager().getSelectedDevice(); if (mGBDevice != null && mGBDevice.getFirmwareVersion() != null) { - return PebbleUtils.getFwMajor(mGBDevice.getFirmwareVersion()) >= 3; + return PebbleUtils.getFwMajor(mGBDevice.getFirmwareVersion()) < 3; } return false; }