diff --git a/Sources/Earthquake Network/Controllers/InApp/SubscriptionDetailViewController.swift b/Sources/Earthquake Network/Controllers/InApp/SubscriptionDetailViewController.swift index 1e0f7f8..bbb09fb 100644 --- a/Sources/Earthquake Network/Controllers/InApp/SubscriptionDetailViewController.swift +++ b/Sources/Earthquake Network/Controllers/InApp/SubscriptionDetailViewController.swift @@ -13,6 +13,9 @@ import StoreKit class SubscriptionDetailViewController: UIViewController { + /// Enable this allows shake to enable the current subscription + private static let ShareToEnableSubscription = false + var product: SKProduct? { didSet { updateUI() @@ -122,12 +125,8 @@ class SubscriptionDetailViewController: UIViewController { extension SubscriptionDetailViewController { - override var canBecomeFirstResponder: Bool { - false - } - override func motionEnded(_ motion: UIEvent.EventSubtype, with event: UIEvent?) { - guard let product = product, event?.subtype == .motionShake else { + guard let product = product, event?.subtype == .motionShake, Self.ShareToEnableSubscription else { return }