Skip to content

Commit

Permalink
[iOS] - Fix Leo yearly subscription ID on nightly (#26268)
Browse files Browse the repository at this point in the history
  • Loading branch information
Brandon-T authored Oct 29, 2024
1 parent e0947f1 commit 05f3e18
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 05f3e18

Please sign in to comment.