Ver Fonte

Fix paywall default plan for non-premium users

Co-authored-by: Cursor <cursoragent@cursor.com>
huzaifahayat12 há 2 meses atrás
pai
commit
ca5b66ee3f
1 ficheiros alterados com 2 adições e 0 exclusões
  1. 2 0
      meetings_app/ViewController.swift

+ 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()