mirror of
https://github.com/tonytins/amtkstat.git
synced 2026-10-24 05:32:54 -04:00
Renamed Refresh button to Submit
This commit is contained in:
parent
bf67475107
commit
69fc10c6f2
1 changed files with 3 additions and 3 deletions
|
|
@ -25,7 +25,7 @@ struct ContentView: View {
|
|||
TextField("e.g. ASD", text: $stationCode)
|
||||
.frame(width: 100)
|
||||
|
||||
Button("Refresh") {
|
||||
Button("Submit") {
|
||||
Task {
|
||||
await loadTrainStatus(forStationCode: normalizedStationCode)
|
||||
}
|
||||
|
|
@ -61,8 +61,8 @@ struct ContentView: View {
|
|||
TableColumn("From", value: \TrainStatusRow.destination)
|
||||
TableColumn("Status", value: \TrainStatusRow.status)
|
||||
TableColumn("Track", value: \TrainStatusRow.platform)
|
||||
|
||||
}.overlay(alignment: .bottomTrailing) {
|
||||
}.frame(minWidth: 600)
|
||||
.overlay(alignment: .bottomTrailing) {
|
||||
if isLoading {
|
||||
ProgressView()
|
||||
.frame(alignment: .topTrailing)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue