# Conflicts: # frontend/src/lib/pt-br-locale.test.js
This commit is contained in:
commit
2240499793
20 files changed
+101
-2
No files matched your search
@@ -1741,6 +1741,9 @@ export function WorkoutRow({ w, onClick }) {
|
||||
// `routineIds` accepts `string | string[] | null` — `[r.id]` for one routine,
|
||||
// `effectiveRoutineIds(...)` for today's planned session, `[]` / null for explicit freestyle.
|
||||
export function startFlow(routineIds) {
|
||||
// The weigh-in is a setting (Settings → During a workout, issue #137): off goes straight
|
||||
// into the session with no body weight on it, same as "Start without weighing in".
|
||||
if (S().weighIn === false) { beginWorkout(routineIds, null); return }
|
||||
bwSheet({ required: true, onDone: bw => beginWorkout(routineIds, bw) })
|
||||
}
|
||||
export function beginWorkout(routineIds, bw) {
|
||||
|
||||
Reference in new issue
Block a user