mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-24 10:56:50 +01: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:
parent
582c351142
commit
b0728286b5
@ -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;
|
||||
|
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user