From 1dba6633eebb5b51aa6a7d968a8875772c13452c Mon Sep 17 00:00:00 2001 From: Laurent Date: Thu, 12 Sep 2024 11:20:29 +0200 Subject: [PATCH] put back debug plans --- PadelClub/Views/Tournament/Subscription/Guard.swift | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/PadelClub/Views/Tournament/Subscription/Guard.swift b/PadelClub/Views/Tournament/Subscription/Guard.swift index 2804a6a..951a961 100644 --- a/PadelClub/Views/Tournament/Subscription/Guard.swift +++ b/PadelClub/Views/Tournament/Subscription/Guard.swift @@ -161,16 +161,16 @@ import LeStorage } var currentPlan: StoreItem? { -// #if DEBUG -// return .monthlyUnlimited -// #elseif TESTFLIGHT -// return .monthlyUnlimited -// #else + #if DEBUG + return .monthlyUnlimited + #elseif TESTFLIGHT + return .monthlyUnlimited + #else if let currentBestPlan = self.currentBestPlan, let plan = StoreItem(rawValue: currentBestPlan.productID) { return plan } return nil -// #endif + #endif } func userFilteredPurchases() -> [StoreKit.Transaction] {