-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Paywalls] Add spacing between paragraphs and make text go full width so text align applies #1824
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Love that this is such a small PR!
val paragraphPadding = with(density) { style.lineHeight.toDp() } | ||
|
||
Column( | ||
verticalArrangement = Arrangement.spacedBy(paragraphPadding), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Inventive! 🧠
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Looks like we need to update snapshots. Instructions here:
Line 29 in dd81d76
* - If your PR requires updating snapshots, you can generate them on CI: |
Codecov ReportAll modified and coverable lines are covered by tests ✅ 📢 Thoughts on this report? Let us know! |
**This is an automatic release.** ### New Features * Paywalls can use custom in-app purchase/restore code (#1777) via James Borthwick (@jamesrb1) ### Bugfixes * [Paywalls] Add spacing between paragraphs and make text go full width so text align applies (#1824) via Josh Holtz (@joshdholtz) ### Dependency Updates * Bump rexml from 3.3.4 to 3.3.6 (#1823) via dependabot[bot] (@dependabot[bot]) * Bump fastlane-plugin-revenuecat_internal from `4c4b8ce` to `85e1c83` (#1812) via dependabot[bot] (@dependabot[bot]) * Adds Detekt rules for Compose. Updates detekt to 1.23.6. (#1822) via JayShortway (@JayShortway) ### Other Changes * Converts MagicWeather's Gradle files to Kotlin (#1821) via JayShortway (@JayShortway) Co-authored-by: revenuecat-ops <ops@revenuecat.com>
Motivation
Fix spacing and text align consistency between Android, iOS, and web preview
Description
Markdown
component full width so text align applies for single line configurations