1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-07-28 01:24:05 +02:00

BIKE_COMMUTE (#3846)

Adding bike commute as sub sport of cycling for garmin devices.

Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/3846
Co-authored-by: CaptKentish <captkentish@noreply.codeberg.org>
Co-committed-by: CaptKentish <captkentish@noreply.codeberg.org>
This commit is contained in:
CaptKentish 2024-06-23 13:09:55 +00:00 committed by José Rebelo
parent 582c351142
commit b0728286b5
2 changed files with 2 additions and 0 deletions

View File

@ -319,6 +319,7 @@ public class FitImporter {
return ActivityKind.TYPE_TREADMILL;
case E_BIKE:
case BIKE:
case BIKE_COMMUTE:
return ActivityKind.TYPE_CYCLING;
case BIKE_INDOOR:
return ActivityKind.TYPE_INDOOR_CYCLING;

View File

@ -12,6 +12,7 @@ public enum GarminSport {
BIKE_INDOOR(2, 6),
HANDCYCLING(2, 12),
E_BIKE(2, 28),
BIKE_COMMUTE(2, 48),
HANDCYCLING_INDOOR(2, 88),
ELLIPTICAL(4, 15),
STAIR_STEPPER(4, 16),