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:
parent
cd40478b3f
commit
acb6de0983
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user