Re organize set tiles

This commit is contained in:
Brandon Presley 2023-11-28 14:54:18 +13:00
parent af3fd69688
commit e0302e63e2

View File

@ -20,10 +20,9 @@ class SetTile extends StatelessWidget {
Widget build(BuildContext context) {
return ListTile(
title: Text(gymSet.name),
subtitle: Text("${gymSet.reps} x ${gymSet.weight}kg"),
trailing: Text(
DateFormat("yyyy-MM-dd").format(DateTime.parse(gymSet.created)),
),
subtitle:
Text(DateFormat("yyyy-MM-dd").format(DateTime.parse(gymSet.created))),
trailing: Text("${gymSet.reps} x ${gymSet.weight}kg"),
onTap: () async {
await Navigator.push(
context,