From 0545b621b916275e82d03e23086cf39b342819f3 Mon Sep 17 00:00:00 2001 From: Laurent Date: Tue, 24 Sep 2024 11:22:04 +0200 Subject: [PATCH] Remove logs --- PadelClub/Views/Tournament/Subscription/Guard.swift | 4 ++-- .../Views/Tournament/Subscription/PurchaseListView.swift | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/PadelClub/Views/Tournament/Subscription/Guard.swift b/PadelClub/Views/Tournament/Subscription/Guard.swift index 0ad429a..64cbdac 100644 --- a/PadelClub/Views/Tournament/Subscription/Guard.swift +++ b/PadelClub/Views/Tournament/Subscription/Guard.swift @@ -190,7 +190,7 @@ import LeStorage } func userFilteredPurchases() -> [StoreKit.Transaction] { - Logger.log("self.purchasedTransactions = \(self.purchasedTransactions.count)") +// Logger.log("self.purchasedTransactions = \(self.purchasedTransactions.count)") guard let userId = StoreCenter.main.userId, let currentUserUUID: UUID = UUID(uuidString: userId) else { return [] } @@ -279,7 +279,7 @@ import LeStorage let tournamentCreditCount = self._purchasedTournamentCount() // let notDeletedTournamentCount = DataStore.shared.tournaments.filter { $0.isDeleted == false }.count - Logger.log("unitlyPayed = \(unitlyPayed), purchased = \(tournamentCreditCount) ") +// Logger.log("unitlyPayed = \(unitlyPayed), purchased = \(tournamentCreditCount) ") return tournamentCreditCount - unitlyPayed } diff --git a/PadelClub/Views/Tournament/Subscription/PurchaseListView.swift b/PadelClub/Views/Tournament/Subscription/PurchaseListView.swift index b9960f1..e704e93 100644 --- a/PadelClub/Views/Tournament/Subscription/PurchaseListView.swift +++ b/PadelClub/Views/Tournament/Subscription/PurchaseListView.swift @@ -68,7 +68,7 @@ class PurchaseManager: ObservableObject { } } - Logger.log("purchases = \(rows)") +// Logger.log("purchases = \(rows)") self.purchaseRows = rows }