Files
flutter/lib
Nsimba Tamaku fd8545f997 fix: use unit IDs directly in Log.fromSetConfigData to prevent null on save
When adding an extra exercise during a workout, addExerciseAfterPage()
creates a SetConfigData with no unit objects loaded. Log.fromSetConfigData
was using the weightUnit/repetitionUnit setters which overwrite the default
IDs with null when the objects are null, causing the server to reject the
request with a ValidationError ("Repetitions unit must be present").

Fixes #1149

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-13 17:10:59 +01:00
..
2026-01-14 14:59:07 +01:00
2026-01-13 16:26:17 +01:00
2026-03-12 22:48:21 +05:30
2026-03-21 13:51:35 +01:00
2025-05-16 17:47:36 +02:00
2026-03-12 22:48:21 +05:30