diff --git a/Seattle Bridge Tracker/BridgeView.swift b/Seattle Bridge Tracker/BridgeView.swift index 97c6f21..ba49361 100644 --- a/Seattle Bridge Tracker/BridgeView.swift +++ b/Seattle Bridge Tracker/BridgeView.swift @@ -128,6 +128,9 @@ struct BridgeView: View { .clipped() .navigationBarHidden(true) } + .onAppear { + viewModel.fetchData(repeatFetch: false) + } } var status: some View { Text(bridge.status.rawValue.capitalized)