Include time in set_tile
This commit is contained in:
parent
dac65c8390
commit
852d28afcf
|
@ -20,8 +20,8 @@ class SetTile extends StatelessWidget {
|
|||
Widget build(BuildContext context) {
|
||||
return ListTile(
|
||||
title: Text(gymSet.name),
|
||||
subtitle:
|
||||
Text(DateFormat("yyyy-MM-dd").format(DateTime.parse(gymSet.created))),
|
||||
subtitle: Text(DateFormat("yyyy-MM-dd HH:mm")
|
||||
.format(DateTime.parse(gymSet.created))),
|
||||
trailing: Text("${gymSet.reps} x ${gymSet.weight}kg"),
|
||||
onTap: () async {
|
||||
await Navigator.push(
|
||||
|
|
Loading…
Reference in New Issue
Block a user