From bebb8ef0944153a508badc858a0ba7f3df392308 Mon Sep 17 00:00:00 2001
From: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com>
Date: Thu, 1 Oct 2026 14:24:59 +0400
Subject: [PATCH] ios, android: don't promise a purchase that may not exist
---
apps/ios/Shared/Model/SimpleXAPI.swift | 2 +-
.../common/src/commonMain/resources/MR/base/strings.xml | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/apps/ios/Shared/Model/SimpleXAPI.swift b/apps/ios/Shared/Model/SimpleXAPI.swift
index 8d7f327c61..49a0b5c0a6 100644
--- a/apps/ios/Shared/Model/SimpleXAPI.swift
+++ b/apps/ios/Shared/Model/SimpleXAPI.swift
@@ -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):
diff --git a/apps/multiplatform/common/src/commonMain/resources/MR/base/strings.xml b/apps/multiplatform/common/src/commonMain/resources/MR/base/strings.xml
index 67710ca214..e1ea4f6e3f 100644
--- a/apps/multiplatform/common/src/commonMain/resources/MR/base/strings.xml
+++ b/apps/multiplatform/common/src/commonMain/resources/MR/base/strings.xml
@@ -3213,7 +3213,7 @@
This app version cannot redeem badge codes.
This app version cannot buy badges.
This profile already has a badge. Redeem the code on another profile, or once this badge ends.
- This profile already has a badge. The purchase will be added when this badge ends.
+ This profile already has a badge.
This code was not recognized.
This code has already been used.
This code has expired.