From 0c7b88f2c5fef17328412e83899d031ff653dcb8 Mon Sep 17 00:00:00 2001 From: Davide De Rosa Date: Sun, 7 Feb 2021 11:50:48 +0100 Subject: [PATCH] Drop single feature purchase --- Passepartout/App/iOS/Global/Macros.swift | 2 +- Passepartout/App/macOS/Global/Macros.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Passepartout/App/iOS/Global/Macros.swift b/Passepartout/App/iOS/Global/Macros.swift index 9b5fcc4a..5c89c723 100644 --- a/Passepartout/App/iOS/Global/Macros.swift +++ b/Passepartout/App/iOS/Global/Macros.swift @@ -67,7 +67,7 @@ extension UIViewController { func presentPurchaseScreen(forProduct product: Product, delegate: PurchaseViewControllerDelegate? = nil) { let nav = StoryboardScene.Purchase.initialScene.instantiate() let vc = nav.topViewController as? PurchaseViewController - vc?.feature = product +// vc?.feature = product vc?.delegate = delegate // enforce pre iOS 13 behavior diff --git a/Passepartout/App/macOS/Global/Macros.swift b/Passepartout/App/macOS/Global/Macros.swift index 4f32f6e5..cbe6556e 100644 --- a/Passepartout/App/macOS/Global/Macros.swift +++ b/Passepartout/App/macOS/Global/Macros.swift @@ -93,7 +93,7 @@ extension NSAlert { extension NSViewController { func presentPurchaseScreen(forProduct product: Product, delegate: PurchaseViewControllerDelegate? = nil) { let vc = StoryboardScene.Purchase.initialScene.instantiate() - vc.feature = product +// vc.feature = product vc.delegate = delegate presentAsModalWindow(vc) }