Do some minor cosmetic changes
This commit is contained in:
parent
8293ddeb68
commit
9bb9aa6488
5 changed files with 22 additions and 4 deletions
|
@ -375,7 +375,7 @@ class _HomePageState extends State<HomePage> {
|
|||
return Column(
|
||||
children: [
|
||||
Text(
|
||||
"You are now on the clock\nYour location is being tracked for record keeping purposes.\n\nYou started ${SessionData.GetTotalTimeWorked(SessionData.StartTime, DateTime.now())}\n\n",
|
||||
"You are now on the clock\nYour location is being tracked for record keeping purposes.\n\nYou started ${SessionData.GetTotalTimeWorked(SessionData.StartTime, DateTime.now())} ago\n\n",
|
||||
style: TextStyle(fontSize: 18),
|
||||
),
|
||||
if (SessionData.currentTrip != null) GetTripWidgets(),
|
||||
|
|
|
@ -79,7 +79,7 @@ class _WorkData extends State<WorkDataPage> {
|
|||
),
|
||||
if (SessionData.TotalPay != null)
|
||||
Text(
|
||||
"Total Pay: ${SessionData.TotalPay!}",
|
||||
"Total Pay: \$${SessionData.TotalPay!}",
|
||||
style: TextStyle(fontSize: 18),
|
||||
),
|
||||
|
||||
|
@ -91,6 +91,15 @@ class _WorkData extends State<WorkDataPage> {
|
|||
),
|
||||
|
||||
SizedBox(height: 40),
|
||||
Text(
|
||||
"Total Number of Trips: ${SessionData.Trips.length}",
|
||||
style: TextStyle(fontSize: 18),
|
||||
),
|
||||
|
||||
Text(
|
||||
"Total Deliveries: ${SessionData.GetTotalDeliveries()}",
|
||||
style: TextStyle(fontSize: 18),
|
||||
),
|
||||
ElevatedButton(
|
||||
onPressed: () async {
|
||||
// Process data export to GPX format.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue