Re organize set tiles
This commit is contained in:
parent
af3fd69688
commit
e0302e63e2
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue
Block a user