From 9ec1898cfc847cf7fbae5208f23641822005c316 Mon Sep 17 00:00:00 2001 From: Roland Geider Date: Thu, 29 Apr 2021 17:12:47 +0200 Subject: [PATCH] Show repetitions in a column If there are e.g. four different ones, the resulting line is really ugly --- lib/widgets/dashboard/widgets.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/widgets/dashboard/widgets.dart b/lib/widgets/dashboard/widgets.dart index 7d0abc772..0feec1a1a 100644 --- a/lib/widgets/dashboard/widgets.dart +++ b/lib/widgets/dashboard/widgets.dart @@ -321,7 +321,7 @@ class _DashboardWorkoutWidgetState extends State { return Column( children: [ Text(s.exerciseObj.name), - MutedText(set.getSmartTextRepr(s.exerciseObj)), + ...set.getSmartRepr(s.exerciseObj).map((e) => MutedText(e)).toList(), SizedBox(height: 5), ], );