Laurent 8 months ago
commit ea0655de37
  1. 2
      LeStorage/StoredCollection.swift

@ -202,10 +202,10 @@ public class StoredCollection<T: Storable>: RandomAccessCollection, SomeCollecti
self._addOrUpdate(contentOfs: items, shouldSync: false) self._addOrUpdate(contentOfs: items, shouldSync: false)
} }
} }
self._setAsLoaded()
} catch { } catch {
Logger.error(error) Logger.error(error)
} }
self._setAsLoaded()
} }
/// Loads the collection using the server data only if the collection file doesn't exists /// Loads the collection using the server data only if the collection file doesn't exists

Loading…
Cancel
Save