فهرست منبع

Open premium sheet from sidebar Manage Subscription

Route the sidebar Pro card CTA through presentPremiumPlansSheet after
refreshing entitlements, instead of opening the App Store subscriptions
URL. Update the Pro-state subtitle to reference Premium so copy matches
the action.

Co-authored-by: Cursor <cursoragent@cursor.com>
AhtashamShahzad1 2 ماه پیش
والد
کامیت
1960deff34
1فایلهای تغییر یافته به همراه2 افزوده شده و 7 حذف شده
  1. 2 7
      App for Indeed/Views/DashboardView.swift

+ 2 - 7
App for Indeed/Views/DashboardView.swift

@@ -375,7 +375,7 @@ final class DashboardView: NSView, NSTextFieldDelegate {
         let descriptionWidth: CGFloat = 158
         if active {
             headline.stringValue = "You're on Pro"
-            upgradeDescription.stringValue = "Manage billing, renewals, and plans in the App Store."
+            upgradeDescription.stringValue = "Manage billing, renewals, and plans in Premium."
             upgradeDescription.preferredMaxLayoutWidth = descriptionWidth
             upgradeButton.title = "Manage Subscription"
         } else {
@@ -2145,12 +2145,7 @@ final class DashboardView: NSView, NSTextFieldDelegate {
         Task { @MainActor in
             await SubscriptionStore.shared.refreshEntitlements(deep: true)
             applyProSubscriptionToSidebar()
-            guard SubscriptionStore.shared.isProActive else {
-                presentPremiumPlansSheet()
-                return
-            }
-            guard let url = URL(string: "https://apps.apple.com/account/subscriptions") else { return }
-            NSWorkspace.shared.open(url)
+            presentPremiumPlansSheet()
         }
     }