Files
flutter/lib/providers
Umaid Shahid f62c6b2c89 Implement server-side language validation on exercise description steps
Closes #930. The validateLanguage stub in AddExerciseProvider was making
the API call but ignoring the response and always returning false. This
wires it up properly: the method now returns null on success or the
server's error message on a language mismatch (caught from the 400
WgerHttpException). The stepper's onStepContinue is now async-aware for
steps 2 (Description) and 3 (Translation) — it calls validateLanguage
after form validation passes, blocks navigation, and displays the error
inline if the check fails. Mocks regenerated to reflect the return type
change from Future<bool> to Future<String?>.
2026-05-04 00:58:29 +02:00
..
2026-05-03 18:21:54 +02:00
2026-02-20 12:03:47 +01:00
2026-03-02 20:18:32 +01:00
2026-01-16 17:33:28 +01:00
2022-06-25 15:52:43 +03:00
2025-11-11 13:22:18 +01:00
2026-01-16 17:33:28 +01:00
2026-03-12 22:48:21 +05:30