Centralize lateness logic

- I finally put the app in the Travel category. xD
- I also moved the train lateness and arrival calculations into AmtrakDateFormatting from ContentView. I also renamed the timezone formatting parameters for clarity.
This commit is contained in:
Tony Bark 2026-08-24 21:05:11 -04:00
parent 79176585b4
commit e0077ec13b
3 changed files with 38 additions and 34 deletions

View file

@ -1,3 +1,4 @@
# https://swiftbundler.dev/documentation/swift-bundler/configuration
format_version = 2
[apps.AmtrakStatus]
@ -5,6 +6,7 @@ identifier = 'com.tonybark.AmtrakStatus'
product = 'AmtrakStatus'
version = '0.2.103'
icon = "./assets/icon.png"
category = "public.app-category.travel"
[[apps.AmtrakStatus.overlays]]