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? {
// #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] {

Loading…
Cancel
Save