Skip to content

Commit

Permalink
Drop single platform purchases
Browse files Browse the repository at this point in the history
  • Loading branch information
keeshux committed Dec 23, 2023
1 parent c692b14 commit 4fa1811
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions Passepartout/App/Views/PaywallView+Purchase.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -184,7 +176,7 @@ private extension PaywallView.PurchaseView {
}

var productRowModels: [InAppProduct] {
[skFullVersion, skPlatformVersion]
[skFullVersion]
.compactMap { $0 }
}
}
Expand Down

0 comments on commit 4fa1811

Please sign in to comment.