Refactor function name

club_update
Laurent 1 year ago
parent dd4559aa65
commit 5663137b04
  1. 2
      PadelClub/Data/DataStore.swift

@ -22,7 +22,7 @@ class DataStore: ObservableObject {
if self.user.id != self.userStorage.item()?.id { if self.user.id != self.userStorage.item()?.id {
self.userStorage.setItemNoSync(self.user) self.userStorage.setItemNoSync(self.user)
if StoreCenter.main.collectionsCanSynchronize { if StoreCenter.main.collectionsCanSynchronize {
Store.main.loadCollectionFromServer() Store.main.loadCollectionsFromServer()
self._fixMissingClubCreatorIfNecessary(self.clubs) self._fixMissingClubCreatorIfNecessary(self.clubs)
self._fixMissingEventCreatorIfNecessary(self.events) self._fixMissingEventCreatorIfNecessary(self.events)
} }

Loading…
Cancel
Save