|
|
|
@ -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 |
|
|
|
|