From cdf89c33c4989d83fedf2ce59a9d0b4038d58cad Mon Sep 17 00:00:00 2001 From: Laurent Date: Thu, 30 Jan 2025 15:47:31 +0100 Subject: [PATCH] Adds Drawlog api collection loader --- PadelClub/Data/DataStore.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/PadelClub/Data/DataStore.swift b/PadelClub/Data/DataStore.swift index 6d59761..67fed87 100644 --- a/PadelClub/Data/DataStore.swift +++ b/PadelClub/Data/DataStore.swift @@ -99,6 +99,7 @@ class DataStore: ObservableObject { StoreCenter.main.loadApiCallCollection(type: TeamRegistration.self) StoreCenter.main.loadApiCallCollection(type: Match.self) StoreCenter.main.loadApiCallCollection(type: TeamScore.self) + StoreCenter.main.loadApiCallCollection(type: DrawLog.self) NotificationCenter.default.addObserver(self, selector: #selector(collectionDidLoad), name: NSNotification.Name.CollectionDidLoad, object: nil) NotificationCenter.default.addObserver(self, selector: #selector(collectionDidUpdate), name: NSNotification.Name.CollectionDidChange, object: nil)