# 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
@@ -155,7 +155,9 @@ export default function Home() {
|
||||
</div>
|
||||
)}
|
||||
<div className="chart" style={{ marginTop: 8 }}><LineChart points={bwPoints} h={130} unit={S.unit} goal={S.targetW} /></div>
|
||||
</> : <div className="muted small">{t("No entries yet — log your weight to start the curve. It's also asked before every workout.")}</div>}
|
||||
</> : <div className="muted small">{S.weighIn === false
|
||||
? t('No entries yet — log your weight to start the curve.')
|
||||
: t("No entries yet — log your weight to start the curve. It's also asked before every workout.")}</div>}
|
||||
</div>
|
||||
|
||||
<div className="card tappable" style={{ cursor: 'pointer' }} {...tappable(() => calendarSheet())}>
|
||||
|
||||
@@ -260,6 +260,12 @@ export default function Settings() {
|
||||
|
||||
{/* ---------- during a workout ---------- */}
|
||||
<Section title={t('During a workout')} footer={wakeOK ? t('The screen stays on while a workout is running, so you don’t have to unlock your phone between sets.') : null}>
|
||||
{/* The quick weigh-in that opens on Start (sheets.jsx startFlow, issue #137); off skips straight
|
||||
to the session. Home and Stats still log weight by hand. */}
|
||||
<Row icon="scale" iconTint="var(--green)" title={t('Weigh in before workouts')}
|
||||
subtitle={t('Asks for your body weight when a workout starts. Off starts the session straight away.')}>
|
||||
<Switch checked={S.weighIn !== false} onChange={v => update(s => { s.weighIn = v })} />
|
||||
</Row>
|
||||
{/* One exercise at a time (cards with Prev/Next), the whole session stacked as a
|
||||
scrollable list, or that list stripped to just names and set rows (compact).
|
||||
Legacy/unknown values read as cards. The running session can override this from
|
||||
|
||||
Reference in new issue
Block a user