From 06e30c8b0a0c187896bc4b7f1aa047a7fc0e5e13 Mon Sep 17 00:00:00 2001 From: Roland Geider Date: Thu, 18 Mar 2021 10:51:43 +0100 Subject: [PATCH] Simplify start page for gym mode --- lib/l10n/app_en.arb | 1 + lib/widgets/workouts/gym_mode.dart | 10 +--------- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/lib/l10n/app_en.arb b/lib/l10n/app_en.arb index 6b17626e0..8fa3e88b9 100644 --- a/lib/l10n/app_en.arb +++ b/lib/l10n/app_en.arb @@ -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.", diff --git a/lib/widgets/workouts/gym_mode.dart b/lib/widgets/workouts/gym_mode.dart index 11cd5fc39..8a9b37def 100644 --- a/lib/widgets/workouts/gym_mode.dart +++ b/lib/widgets/workouts/gym_mode.dart @@ -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(