mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-01-10 17:11:56 +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();
|
||||
|
||||
QueryBuilder<HuaweiWorkoutPaceSample> qbPace = session.getHuaweiWorkoutPaceSampleDao().queryBuilder().where(
|
||||
QueryBuilder<HuaweiWorkoutPaceSample> qbPace = session.getHuaweiWorkoutPaceSampleDao().queryBuilder().orderAsc(HuaweiWorkoutPaceSampleDao.Properties.PaceIndex).where(
|
||||
HuaweiWorkoutPaceSampleDao.Properties.WorkoutId.eq(summary.getWorkoutId())
|
||||
);
|
||||
|
||||
@ -697,7 +697,7 @@ public class HuaweiWorkoutGbParser implements ActivitySummaryParser {
|
||||
|
||||
if (pace > paceSlowest)
|
||||
paceSlowest = pace;
|
||||
|
||||
|
||||
double distance = sample.getDistance();
|
||||
|
||||
if (sample.getCorrection() != null) {
|
||||
|
Loading…
Reference in New Issue
Block a user