diff --git a/LeStorage/StoredCollection.swift b/LeStorage/StoredCollection.swift index ea3e9bd..75ec146 100644 --- a/LeStorage/StoredCollection.swift +++ b/LeStorage/StoredCollection.swift @@ -179,6 +179,7 @@ public class StoredCollection: SomeCollection { if FileManager.default.fileExists(atPath: fileURL.path()) { let jsonString: String = try FileUtils.readFile(fileURL: fileURL) let decoded: [T] = try jsonString.decodeArray() ?? [] + self.hasLoaded = true // avoid pending management self.setItems(decoded) } await MainActor.run {