From ae97afa8b173eb7aa4d23e5ce590cf2dd17d3551 Mon Sep 17 00:00:00 2001 From: Artem Chepurnyi Date: Thu, 25 Jul 2024 21:02:57 +0300 Subject: [PATCH] exp: Try to please the Google review team by removing the Free trial badge and switching back to subscription full title --- .../keyguard/copy/SubscriptionServiceAndroid.kt | 2 +- .../home/settings/component/SettingSubscriptions.kt | 12 ------------ 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/common/src/androidMain/kotlin/com/artemchep/keyguard/copy/SubscriptionServiceAndroid.kt b/common/src/androidMain/kotlin/com/artemchep/keyguard/copy/SubscriptionServiceAndroid.kt index a802d44..e1c594c 100644 --- a/common/src/androidMain/kotlin/com/artemchep/keyguard/copy/SubscriptionServiceAndroid.kt +++ b/common/src/androidMain/kotlin/com/artemchep/keyguard/copy/SubscriptionServiceAndroid.kt @@ -110,7 +110,7 @@ class SubscriptionServiceAndroid( } Subscription( id = it.productId, - title = it.name, + title = it.title, description = it.description, price = finalPrice.formattedPrice, status = status, diff --git a/common/src/commonMain/kotlin/com/artemchep/keyguard/feature/home/settings/component/SettingSubscriptions.kt b/common/src/commonMain/kotlin/com/artemchep/keyguard/feature/home/settings/component/SettingSubscriptions.kt index c40e47c..821984f 100644 --- a/common/src/commonMain/kotlin/com/artemchep/keyguard/feature/home/settings/component/SettingSubscriptions.kt +++ b/common/src/commonMain/kotlin/com/artemchep/keyguard/feature/home/settings/component/SettingSubscriptions.kt @@ -271,18 +271,6 @@ private fun SettingSubscriptionItem( }, elevation = 2.dp, trailing = { - val status = subscription.status - if (status is Subscription.Status.Inactive && status.hasTrialAvailable) { - FlatTextFieldBadge( - type = TextFieldModel2.Vl.Type.INFO, - text = stringResource(Res.string.pref_item_premium_status_free_trial), - ) - Spacer( - modifier = Modifier - .width(16.dp), - ) - } - ChevronIcon() }, content = {