diff --git a/Chronos/App/Onboarding/WelcomeView.swift b/Chronos/App/Onboarding/WelcomeView.swift index eef64bd..e2c8d37 100644 --- a/Chronos/App/Onboarding/WelcomeView.swift +++ b/Chronos/App/Onboarding/WelcomeView.swift @@ -90,6 +90,12 @@ struct WelcomeView: View { .onAppear(perform: { swiftDataService.resetModelContainers() iCloudSyncLastAttempt = 0 + + if syncMonitor.syncStateSummary == .succeeded { + syncTimer = Timer.scheduledTimer(withTimeInterval: 2, repeats: false) { _ in + hasSynced = true + } + } }) .onChange(of: syncMonitor.syncStateSummary) { _, newValue in syncTimer?.invalidate()