Files
flutter/test/fixtures/user/userprofile_response.json
Roland Geider a977d4ec48 Refactor add_exercise_screen.dart
Use the is_trustworthy flag from the server, which also takes the account's age
into account. The widgets in the screen are split so it's easier to test and read
2023-02-07 20:30:09 +01:00

31 lines
745 B
JSON

{
"username": "admin",
"email": "me@example.com",
"email_verified": true,
"is_trustworthy": true,
"date_joined": "2021-04-24 09:07:09.364859+00:00",
"gym": 1,
"is_temporary": false,
"show_comments": false,
"show_english_ingredients": false,
"workout_reminder_active": false,
"workout_reminder": 14,
"workout_duration": 12,
"last_workout_notification": null,
"notification_language": 2,
"age": null,
"birthdate": null,
"height": null,
"gender": "1",
"sleep_hours": 7,
"work_hours": 8,
"work_intensity": "1",
"sport_hours": 3,
"sport_intensity": "2",
"freetime_hours": 8,
"freetime_intensity": "1",
"calories": 2500,
"weight_unit": "kg",
"ro_access": false,
"num_days_weight_reminder": 0
}