Эх сурвалжийг харах

Fix paywall default plan for non-premium users

Co-authored-by: Cursor <cursoragent@cursor.com>
huzaifahayat12 2 сар өмнө
parent
commit
ca5b66ee3f

+ 2 - 0
meetings_app/ViewController.swift

@@ -2215,6 +2215,8 @@ private extension ViewController {
         paywallUpgradeFlowEnabled = upgradeFlow
         if let preferredPlan {
             selectedPremiumPlan = preferredPlan
+        } else if !storeKitCoordinator.hasPremiumAccess {
+            selectedPremiumPlan = .yearly
         }
         if let existingOverlay = paywallOverlayView {
             refreshPaywallStoreUI()