mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2025-01-22 23:57:33 +01:00
Huawei: specify pace order
This commit is contained in:
parent
15f550d5a8
commit
0e6a3e13cc
@ -357,7 +357,7 @@ public class HuaweiWorkoutGbParser implements ActivitySummaryParser {
|
|||||||
);
|
);
|
||||||
List<HuaweiWorkoutDataSample> dataSamples = qbData.build().list();
|
List<HuaweiWorkoutDataSample> dataSamples = qbData.build().list();
|
||||||
|
|
||||||
QueryBuilder<HuaweiWorkoutPaceSample> qbPace = session.getHuaweiWorkoutPaceSampleDao().queryBuilder().where(
|
QueryBuilder<HuaweiWorkoutPaceSample> qbPace = session.getHuaweiWorkoutPaceSampleDao().queryBuilder().orderAsc(HuaweiWorkoutPaceSampleDao.Properties.PaceIndex).where(
|
||||||
HuaweiWorkoutPaceSampleDao.Properties.WorkoutId.eq(summary.getWorkoutId())
|
HuaweiWorkoutPaceSampleDao.Properties.WorkoutId.eq(summary.getWorkoutId())
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -697,7 +697,7 @@ public class HuaweiWorkoutGbParser implements ActivitySummaryParser {
|
|||||||
|
|
||||||
if (pace > paceSlowest)
|
if (pace > paceSlowest)
|
||||||
paceSlowest = pace;
|
paceSlowest = pace;
|
||||||
|
|
||||||
double distance = sample.getDistance();
|
double distance = sample.getDistance();
|
||||||
|
|
||||||
if (sample.getCorrection() != null) {
|
if (sample.getCorrection() != null) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user