From 0566b4005e551736818672e4665a6c40de9fe1f9 Mon Sep 17 00:00:00 2001 From: NachoSoto Date: Tue, 31 Oct 2023 09:47:33 -0700 Subject: [PATCH] `Paywalls`: disallow Markdown links in `PurchaseButton` (#1421) See #1411. This fixes inconsistent touch behavior when tapping on it. --- .../purchases/ui/revenuecatui/composables/PurchaseButton.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/revenuecatui/src/main/kotlin/com/revenuecat/purchases/ui/revenuecatui/composables/PurchaseButton.kt b/ui/revenuecatui/src/main/kotlin/com/revenuecat/purchases/ui/revenuecatui/composables/PurchaseButton.kt index 93339580b7..a451596f44 100644 --- a/ui/revenuecatui/src/main/kotlin/com/revenuecat/purchases/ui/revenuecatui/composables/PurchaseButton.kt +++ b/ui/revenuecatui/src/main/kotlin/com/revenuecat/purchases/ui/revenuecatui/composables/PurchaseButton.kt @@ -125,6 +125,7 @@ private fun PurchaseButton( textAlign = TextAlign.Center, style = MaterialTheme.typography.titleMedium, fontWeight = FontWeight.SemiBold, + allowLinks = false, modifier = Modifier .padding(vertical = UIConstant.defaultVerticalSpacing / 3) .alpha(labelOpacity),