Do some minor cosmetic changes

This commit is contained in:
zontreck 2025-05-18 10:37:35 -07:00
parent 8293ddeb68
commit 9bb9aa6488
5 changed files with 22 additions and 4 deletions

View file

@ -42,6 +42,15 @@ class SessionData {
return total;
}
static int GetTotalDeliveries() {
int total = 0;
for (var trip in Trips) {
total += trip.deliveries.length;
}
return total;
}
static String GetTotalMilesAsString() {
double miles = GetTotalMiles();
if (miles == 0) return "0.0";