1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-12-25 18:15:49 +01:00

Fix wrong parameter type

This commit is contained in:
José Rebelo 2024-10-12 13:40:35 +01:00
parent 598e737f10
commit bf7b6e2329

View File

@ -136,7 +136,7 @@ public class FitRecord extends RecordData {
activityPoint.setHeartRate(getHeartRate()); activityPoint.setHeartRate(getHeartRate());
} }
if (getEnhancedSpeed() != null) { if (getEnhancedSpeed() != null) {
activityPoint.setSpeed(getEnhancedSpeed()); activityPoint.setSpeed(getEnhancedSpeed().floatValue());
} }
return activityPoint; return activityPoint;
} }