Include time in set_tile
This commit is contained in:
+2
-2
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user