1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-24 02:46:50 +01:00

Pebble: Fix inverted check for firmware version

Regression from 0.57.1.

This could help #2329
This commit is contained in:
Andreas Shimokawa 2021-06-27 00:22:05 +02:00
parent cd40478b3f
commit acb6de0983

View File

@ -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;
}