Resets synchronized collection on disconnect

multistore
Laurent 2 years ago
parent 117b18afa7
commit 7c48bbdb74
  1. 2
      PadelClub/Data/DataStore.swift

@ -107,7 +107,7 @@ class DataStore: ObservableObject {
} }
func disconnect() { func disconnect() {
Store.main.disconnect(resetAll: true) Store.main.disconnect(resetOption: .synchronizedOnly)
Store.main.collectionsCanSynchronize = false Store.main.collectionsCanSynchronize = false
} }

Loading…
Cancel
Save