Drop single feature purchase
This commit is contained in:
parent
47da4ba5af
commit
0c7b88f2c5
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue