Skip to content

Commit

Permalink
[iOS] - Fix Leo yearly subscription ID on nightly (1.73.x) (#26520)
Browse files Browse the repository at this point in the history
[iOS] - Fix Leo yearly subscription ID on nightly (#2626
  • Loading branch information
Brandon-T authored Nov 19, 2024
1 parent f5cba67 commit 1cd111d
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,11 @@ public enum BraveStoreProduct: String, AppStoreProduct, CaseIterable {
switch self {
case .vpnMonthly, .leoMonthly: return "\(prefix)\(productId).monthly"
case .vpnYearly: return "\(prefix)\(productId).yearly"
case .leoYearly: return "\(prefix)\(productId).yearly.2"
case .leoYearly:
if BraveSkusEnvironment.current == .release {
return "\(prefix)\(productId).yearly.2"
}
return "\(prefix)\(productId).yearly"
}
}
}
Expand Down

0 comments on commit 1cd111d

Please sign in to comment.