mirror of
https://github.com/wger-project/flutter.git
synced 2026-12-05 23:44:02 +01:00
Simplify start page for gym mode
This commit is contained in:
@@ -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.",
|
||||
|
||||
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user