diff --git a/PadelClubData/Subscriptions/Guard.swift b/PadelClubData/Subscriptions/Guard.swift index 4aba769..aa77c06 100644 --- a/PadelClubData/Subscriptions/Guard.swift +++ b/PadelClubData/Subscriptions/Guard.swift @@ -172,6 +172,10 @@ import Combine if let plan = PListReader.readString(plist: "local", key: "plan"), !plan.isEmpty { return StoreItem(rawValue: plan) } + if let currentBestPurchase = self.currentBestPurchase, let plan = StoreItem(rawValue: currentBestPurchase.productId) { + return plan + } + #elseif TESTFLIGHT return .monthlyUnlimited #elseif PRODTEST