Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/update models #30

Merged
merged 9 commits into from
Mar 15, 2024
Merged

Feat/update models #30

merged 9 commits into from
Mar 15, 2024

Conversation

hossain-khan
Copy link
Owner

No description provided.

@hossain-khan hossain-khan self-assigned this Mar 15, 2024
Comment on lines +177 to +220
enum class ActivityType(val title: String, val extraColor: String) {
BOATING("Boating", "#01579b"),
CATCHING_POKEMON("Catching Pokémon", "#db4437"),
CYCLING("Cycling", "#4db6ac"),
FLYING("Flying", "#3f51b5"),
HIKING("Hiking", "#c2185b"),
HORSEBACK_RIDING("Horseback riding", "#4db6ac"),
IN_BUS("On a bus", "#01579b"),
IN_CABLECAR("In a cable car", "#01579b"),
IN_FERRY("On a ferry", "#01579b"),
IN_FUNICULAR("On a funicular", "#01579b"),
IN_GONDOLA_LIFT("In a gondola lift", "#01579b"),
IN_PASSENGER_VEHICLE("Driving", "#01579b"),
IN_SUBWAY("On the subway", "#01579b"),
IN_TAXI("In a taxi", "#01579b"),
IN_TRAIN("On a train", "#01579b"),
IN_TRAM("On a tram", "#01579b"),
IN_VEHICLE("In a vehicle", "#03a9f4"),
IN_WHEELCHAIR("By wheelchair", "#03a9f4"),
KAYAKING("Kayaking", "#4db6ac"),
KITESURFING("Kitesurfing", "#4db6ac"),
MOTORCYCLING("Motorcycling", "#01579b"),
ON_FOOT("On foot", "#c2185b"),
ON_BICYCLE("On a bicycle", "#4db6ac"),
PARAGLIDING("Paragliding", "#4db6ac"),
ROWING("Rowing", "#c2185b"),
RUNNING("Running", "#c2185b"),
SAILING("Sailing", "#4db6ac"),
SKATEBOARDING("Skateboarding", "#4db6ac"),
SKATING("Skating", "#4db6ac"),
SKIING("Skiing", "#4db6ac"),
SLEDDING("Sledding", "#4db6ac"),
SNOWBOARDING("Snowboarding", "#4db6ac"),
SNOWMOBILE("Snowmobiling", "#01579b"),
SNOWSHOEING("Snowshoeing", "#c2185b"),
STILL("Still", "#01579b"),
SURFING("Surfing", "#4db6ac"),
SWIMMING("Swimming", "#c2185b"),
TILTING("Tilting", "#01579b"),
UNKNOWN("Unknown", "#03a9f4"),
UNKNOWN_ACTIVITY_TYPE("Unknown Activity", "#03a9f4"),
WALKING("Walking", "#03a9f4"),
WALKING_NORDIC("Nordic walking", "#c2185b"),
}
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Screenshot 2024-03-15 at 11 15 19 AM

New types had to be added to pass test.

@hossain-khan hossain-khan merged commit 8918fed into main Mar 15, 2024
2 checks passed
@hossain-khan hossain-khan deleted the feat/update-models branch March 15, 2024 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

1 participant