From 35b2c6c2a6b48706c82d4b4670e2470ca90337dd Mon Sep 17 00:00:00 2001 From: Laurent Date: Thu, 18 Sep 2025 11:40:21 +0200 Subject: [PATCH 1/2] update gitignore --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index 6cad952..6403bc0 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,8 @@ # # gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore +PadelClubDataTests/config.plist + ## User settings xcuserdata/ From f1d21b71ee925814678b1f1c86137fe59b2956ee Mon Sep 17 00:00:00 2001 From: Laurent Date: Thu, 18 Sep 2025 11:43:32 +0200 Subject: [PATCH 2/2] update viewable products in the store --- PadelClubData/Subscriptions/StoreManager.swift | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/PadelClubData/Subscriptions/StoreManager.swift b/PadelClubData/Subscriptions/StoreManager.swift index 425de9a..e34f7e5 100644 --- a/PadelClubData/Subscriptions/StoreManager.swift +++ b/PadelClubData/Subscriptions/StoreManager.swift @@ -71,10 +71,8 @@ public class StoreManager { fileprivate func _productIdentifiers() -> [String] { var items: [StoreItem] = [] switch Guard.main.currentPlan { - case .fivePerMonth: - items = [StoreItem.unit, StoreItem.unit10Pack, StoreItem.monthlyUnlimited] case .monthlyUnlimited: - break + items = [StoreItem.unit, StoreItem.unit10Pack] default: items = [StoreItem.unit, StoreItem.unit10Pack, StoreItem.monthlyUnlimited] }