Browse Source

Fix paywall default plan for non-premium users

Co-authored-by: Cursor <cursoragent@cursor.com>
huzaifahayat12 2 tháng trước cách đây
mục cha
commit
ca5b66ee3f
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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()