update viewable products in the store

sync3
Laurent 2 months ago
parent 36dcbc9f30
commit f1d21b71ee
  1. 4
      PadelClubData/Subscriptions/StoreManager.swift

@ -71,10 +71,8 @@ public class StoreManager {
fileprivate func _productIdentifiers() -> [String] { fileprivate func _productIdentifiers() -> [String] {
var items: [StoreItem] = [] var items: [StoreItem] = []
switch Guard.main.currentPlan { switch Guard.main.currentPlan {
case .fivePerMonth:
items = [StoreItem.unit, StoreItem.unit10Pack, StoreItem.monthlyUnlimited]
case .monthlyUnlimited: case .monthlyUnlimited:
break items = [StoreItem.unit, StoreItem.unit10Pack]
default: default:
items = [StoreItem.unit, StoreItem.unit10Pack, StoreItem.monthlyUnlimited] items = [StoreItem.unit, StoreItem.unit10Pack, StoreItem.monthlyUnlimited]
} }

Loading…
Cancel
Save