Simplify start page for gym mode

This commit is contained in:
Roland Geider
2021-03-18 10:51:43 +01:00
parent 07e51ac3a6
commit 06e30c8b0a
2 changed files with 2 additions and 9 deletions

View File

@@ -123,6 +123,7 @@
"@gymMode": {
"description": "Label when starting the gym mode"
},
"todaysWorkout": "Your workout today",
"logHelpEntries": "If on a single day there is more than one entry with the same number of repetitions, but different weights, only the entry with the higher weight is shown in the diagram.",
"@logHelpEntries": {},
"logHelpEntriesUnits": "Note that only entries with a weight unit (kg or lb) and repetitions are charted, other combinations such as time or until failure are ignored here.",

View File

@@ -104,18 +104,10 @@ class StartPage extends StatelessWidget {
Padding(
padding: const EdgeInsets.symmetric(vertical: 10),
child: Text(
AppLocalizations.of(context).gymMode,
AppLocalizations.of(context).todaysWorkout,
style: Theme.of(context).textTheme.headline5,
),
),
Padding(
padding: const EdgeInsets.symmetric(vertical: 10),
child: Text(
_day.description,
style: Theme.of(context).textTheme.headline6,
),
),
Text('Your workout today'),
..._day.sets.map(
(set) {
return Column(