From 217ac0b81529956f341341ec81155447cb3632ba Mon Sep 17 00:00:00 2001 From: Melody Horn Date: Mon, 9 Sep 2024 10:35:59 -0600 Subject: [PATCH] fix(iOS): update current time in StopDetailsView (#398) --- iosApp/iosApp/Pages/StopDetails/StopDetailsView.swift | 3 +++ 1 file changed, 3 insertions(+) diff --git a/iosApp/iosApp/Pages/StopDetails/StopDetailsView.swift b/iosApp/iosApp/Pages/StopDetails/StopDetailsView.swift index 05342ccd6..15405deda 100644 --- a/iosApp/iosApp/Pages/StopDetails/StopDetailsView.swift +++ b/iosApp/iosApp/Pages/StopDetails/StopDetailsView.swift @@ -90,6 +90,9 @@ struct StopDetailsView: View { } } } + .onReceive(timer) { input in + now = input + } .task { do { globalResponse = try await globalRepository.getGlobalData()