From 4fa18117aef07136e5dba361adcd07ac2b9ef02d Mon Sep 17 00:00:00 2001 From: Davide De Rosa Date: Sat, 23 Dec 2023 12:02:39 +0100 Subject: [PATCH] Drop single platform purchases --- Passepartout/App/Views/PaywallView+Purchase.swift | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/Passepartout/App/Views/PaywallView+Purchase.swift b/Passepartout/App/Views/PaywallView+Purchase.swift index fa6e0eaa0..d27aa4fc8 100644 --- a/Passepartout/App/Views/PaywallView+Purchase.swift +++ b/Passepartout/App/Views/PaywallView+Purchase.swift @@ -166,14 +166,6 @@ private extension PaywallView.PurchaseView { return productManager.product(withIdentifier: .fullVersion) } - var skPlatformVersion: InAppProduct? { - #if targetEnvironment(macCatalyst) - productManager.product(withIdentifier: .fullVersion_macOS) - #else - productManager.product(withIdentifier: .fullVersion_iOS) - #endif - } - var features: [InAppProduct] { productManager.featureProducts(excluding: { $0 == .fullVersion || $0.isPlatformVersion @@ -184,7 +176,7 @@ private extension PaywallView.PurchaseView { } var productRowModels: [InAppProduct] { - [skFullVersion, skPlatformVersion] + [skFullVersion] .compactMap { $0 } } }