mirror of
https://github.com/tonytins/amtkstat.git
synced 2026-10-24 05:32:54 -04:00
- Replace the placeholder window content with ContentView and implement a basic station lookup UI. - Added a station code TextField, Refresh button that triggers an async load, loading indicator, and error message display. Introduces a Table for TrainStatusRow with columns for number, route, on-time and platform. - Started plumbing for row population (work in progress). - Also tweaked window title and fixes station comment (Ashland).
11 lines
189 B
Swift
11 lines
189 B
Swift
import SwiftCrossUI
|
|
import DefaultBackend
|
|
|
|
@main
|
|
struct AmtrakStatusApp: App {
|
|
var body: some Scene {
|
|
WindowGroup("Amtrak Status") {
|
|
ContentView()
|
|
}
|
|
}
|
|
}
|