From e0302e63e221d3ee0c48bdad9269cae0ea352b4c Mon Sep 17 00:00:00 2001 From: Brandon Presley Date: Tue, 28 Nov 2023 14:54:18 +1300 Subject: [PATCH] Re organize set tiles --- lib/set_tile.dart | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/lib/set_tile.dart b/lib/set_tile.dart index f1b885f..c43b610 100644 --- a/lib/set_tile.dart +++ b/lib/set_tile.dart @@ -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,