put back debug plans

sync2
Laurent 1 year ago
parent edc99d1e79
commit 1dba6633ee
  1. 12
      PadelClub/Views/Tournament/Subscription/Guard.swift

@ -161,16 +161,16 @@ import LeStorage
} }
var currentPlan: StoreItem? { var currentPlan: StoreItem? {
// #if DEBUG #if DEBUG
// return .monthlyUnlimited return .monthlyUnlimited
// #elseif TESTFLIGHT #elseif TESTFLIGHT
// return .monthlyUnlimited return .monthlyUnlimited
// #else #else
if let currentBestPlan = self.currentBestPlan, let plan = StoreItem(rawValue: currentBestPlan.productID) { if let currentBestPlan = self.currentBestPlan, let plan = StoreItem(rawValue: currentBestPlan.productID) {
return plan return plan
} }
return nil return nil
// #endif #endif
} }
func userFilteredPurchases() -> [StoreKit.Transaction] { func userFilteredPurchases() -> [StoreKit.Transaction] {

Loading…
Cancel
Save