From 678236c7fabfc8044beff42e512378e709efa3f4 Mon Sep 17 00:00:00 2001 From: Laurent Date: Tue, 15 Jul 2025 11:11:19 +0200 Subject: [PATCH] add a protection from sync --- LeStorage/StoreCenter.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LeStorage/StoreCenter.swift b/LeStorage/StoreCenter.swift index f45f493..ead05f1 100644 --- a/LeStorage/StoreCenter.swift +++ b/LeStorage/StoreCenter.swift @@ -576,7 +576,7 @@ public class StoreCenter { /// Basically asks the server for new content public func synchronizeLastUpdates() async throws { - guard self.isAuthenticated else { + guard self.isAuthenticated, self.useSynchronization else { return }