ios, android: don't promise a purchase that may not exist

This commit is contained in:
spaced4ndy
2026-10-01 14:24:59 +04:00
parent 7473e7a61c
commit bebb8ef094
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -2240,7 +2240,7 @@ func redeemErrorText(_ error: Error, purchase: Bool) -> String {
: NSLocalizedString("This app version cannot redeem badge codes.", comment: "alert message")
case .badgeActive:
return purchase
? NSLocalizedString("This profile already has a badge. The purchase will be added when this badge ends.", comment: "alert message")
? NSLocalizedString("This profile already has a badge.", comment: "alert message")
: NSLocalizedString("This profile already has a badge. Redeem the code on another profile, or once this badge ends.", comment: "alert message")
case let .serviceError(code): if let text = badgeServiceErrorText(code) { return text }
case let .invalidResponse(message):