diff --git a/lib/l10n/app_en.arb b/lib/l10n/app_en.arb index c1e5c6e2..a5335021 100644 --- a/lib/l10n/app_en.arb +++ b/lib/l10n/app_en.arb @@ -212,7 +212,6 @@ "restDay": "Rest day", "isRestDay": "Is rest day", "isRestDayHelp": "Please note that all sets and exercises will be removed when you mark a day as a rest day.", - "tillEndOfWeek": "Till end of the week", "needsLogsToAdvance": "Needs logs to advance", "needsLogsToAdvanceHelp": "Select if you want the routine to progress to the next scheduled day only if you've logged a workout for the day", "routineDays": "Days in routine", diff --git a/lib/widgets/dashboard/widgets.dart b/lib/widgets/dashboard/widgets.dart index 987364eb..89f2c48a 100644 --- a/lib/widgets/dashboard/widgets.dart +++ b/lib/widgets/dashboard/widgets.dart @@ -460,21 +460,21 @@ class _DashboardWorkoutWidgetState extends State { out.add(const Divider()); } - if (_routine!.fitInWeek) { - out.add(Row( - children: [ - Expanded( - child: Text( - AppLocalizations.of(context).tillEndOfWeek, - style: const TextStyle(fontWeight: FontWeight.bold), - overflow: TextOverflow.ellipsis, - ), - ), - const Icon(Icons.hotel), - ], - )); - out.add(const Divider()); - } + // if (_routine!.fitInWeek) { + // out.add(Row( + // children: [ + // Expanded( + // child: Text( + // AppLocalizations.of(context).tillEndOfWeek, + // style: const TextStyle(fontWeight: FontWeight.bold), + // overflow: TextOverflow.ellipsis, + // ), + // ), + // const Icon(Icons.hotel), + // ], + // )); + // out.add(const Divider()); + // } return out; } diff --git a/lib/widgets/routines/routine_detail.dart b/lib/widgets/routines/routine_detail.dart index d78ddab2..57a34207 100644 --- a/lib/widgets/routines/routine_detail.dart +++ b/lib/widgets/routines/routine_detail.dart @@ -52,24 +52,24 @@ class RoutineDetail extends StatelessWidget { ..._routine.dayDataCurrentIteration .where((dayData) => dayData.day != null) .map((dayData) => RoutineDayWidget(dayData, _routine.id!, viewMode)), - if (_routine.fitInWeek) - Padding( - padding: const EdgeInsets.only(left: 8, right: 8, bottom: 12), - child: Card( - margin: EdgeInsets.zero, - child: ListTile( - tileColor: Theme.of(context).focusColor, - contentPadding: const EdgeInsets.symmetric(horizontal: 16, vertical: 8), - title: Text( - i18n.tillEndOfWeek, - style: Theme.of(context).textTheme.headlineSmall, - overflow: TextOverflow.ellipsis, - ), - leading: const Icon(Icons.hotel), - minLeadingWidth: 8, - ), - ), - ), + // if (_routine.fitInWeek) + // Padding( + // padding: const EdgeInsets.only(left: 8, right: 8, bottom: 12), + // child: Card( + // margin: EdgeInsets.zero, + // child: ListTile( + // tileColor: Theme.of(context).focusColor, + // contentPadding: const EdgeInsets.symmetric(horizontal: 16, vertical: 8), + // title: Text( + // i18n.tillEndOfWeek, + // style: Theme.of(context).textTheme.headlineSmall, + // overflow: TextOverflow.ellipsis, + // ), + // leading: const Icon(Icons.hotel), + // minLeadingWidth: 8, + // ), + // ), + // ), ], ); }