mirror of
https://github.com/wger-project/flutter.git
synced 2026-02-18 00:17:48 +01:00
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
31 lines
745 B
JSON
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
|
|
} |