Replace "," with ", " in plans page

This commit is contained in:
Brandon Presley 2023-06-25 15:47:59 +12:00
parent 4e2ca56a69
commit 69f7e0c87b
1 changed files with 3 additions and 2 deletions

View File

@ -72,8 +72,9 @@ class _PlansPageState extends State<_PlansPage> {
itemCount: plans.length,
itemBuilder: (context, index) {
return ListTile(
title: Text(plans[index].days),
subtitle: Text(plans[index].workouts),
title: Text(plans[index].days.replaceAll(',', ', ')),
subtitle:
Text(plans[index].workouts.replaceAll(',', ', ')),
onTap: () async {
await Navigator.push(
context,