diff --git a/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/platform/Platform.kt b/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/platform/Platform.kt index 1afcdda6c5..0be7b6aca3 100644 --- a/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/platform/Platform.kt +++ b/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/platform/Platform.kt @@ -34,8 +34,7 @@ interface PlatformInterface { fun androidIsXiaomiDevice(): Boolean = false // Requests the Google Play account country into [androidPlayStoreCountry] fun androidLoadPlayStoreCountry() {} - // Play Billing, only implemented in the google flavor. A single Play query cannot mix product - // types, so the ids are passed already grouped. + // Play Billing, only implemented in the google flavor // TODO [badges] desktop and foss pay via Stripe/crypto - these defaults leave them without any // product until that path is implemented suspend fun androidLoadBadgeProducts(oneTimeIds: List, subscriptionIds: List): List = emptyList() diff --git a/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/badges/BadgeStore.kt b/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/badges/BadgeStore.kt index c1ab753449..e7934a2e39 100644 --- a/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/badges/BadgeStore.kt +++ b/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/badges/BadgeStore.kt @@ -21,8 +21,6 @@ fun badgeProductId(level: BadgeLevel, period: BadgePeriod): String = when (level } } -// the store sells one-time products and subscriptions through separate APIs, and a single Play -// query cannot mix them enum class BadgeProductType { OneTime, Subscription } val BadgePeriod.productType: BadgeProductType