fix issue with inMemory parameter not being used

sync3
Laurent 1 month ago
parent ffe9794f28
commit 4c3cba20bd
  1. 2
      LeStorage/SyncedCollection.swift

@ -22,7 +22,7 @@ public class SyncedCollection<T : SyncedStorable>: SomeSyncedCollection, Collect
init(store: Store, indexed: Bool = false, inMemory: Bool = false, limit: Int? = nil, synchronousLoading: Bool = false, noLoad: Bool = false) { init(store: Store, indexed: Bool = false, inMemory: Bool = false, limit: Int? = nil, synchronousLoading: Bool = false, noLoad: Bool = false) {
self.store = store self.store = store
self.collection = StoredCollection<T>(store: store, indexed: indexed, limit: limit, synchronousLoading: synchronousLoading, noLoad: noLoad) self.collection = StoredCollection<T>(store: store, indexed: indexed, inMemory: inMemory, limit: limit, synchronousLoading: synchronousLoading, noLoad: noLoad)
} }

Loading…
Cancel
Save