Skip to content

Commit

Permalink
Paywalls: disallow Markdown links in PurchaseButton (#1421)
Browse files Browse the repository at this point in the history
See #1411.
This fixes inconsistent touch behavior when tapping on it.
  • Loading branch information
NachoSoto authored and tonidero committed Oct 31, 2023
1 parent 6463918 commit 0566b40
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 0566b40

Please sign in to comment.