From c5586c395c8730bf056c39ba7786042770fa105f Mon Sep 17 00:00:00 2001 From: Jann Schafranek Date: Fri, 20 Sep 2024 09:02:46 +0100 Subject: [PATCH] Fix Model Resets --- .../Synchronizer/SDSSynchronizer+BootstrapCK.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Sources/SwiftDataSync/Synchronizer/SDSSynchronizer+BootstrapCK.swift b/Sources/SwiftDataSync/Synchronizer/SDSSynchronizer+BootstrapCK.swift index 5d19a2d..347d168 100644 --- a/Sources/SwiftDataSync/Synchronizer/SDSSynchronizer+BootstrapCK.swift +++ b/Sources/SwiftDataSync/Synchronizer/SDSSynchronizer+BootstrapCK.swift @@ -90,12 +90,12 @@ extension SDSSynchronizer { try await bootstrap() - await set(state: .downloading) - try await download() - await set(state: .uploading) try await upload() + await set(state: .downloading) + try await download() + await set(state: .idle) } catch {