-
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: fix template 5 header aspect ratio #1465
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1465 +/- ##
=======================================
Coverage 83.92% 83.92%
=======================================
Files 208 208
Lines 6893 6893
Branches 999 999
=======================================
Hits 5785 5785
Misses 714 714
Partials 394 394 ☔ View full report in Codecov by Sentry. |
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.
Applied the fix to template 1 in #1466. But yeah, great catch!
ui/revenuecatui/src/main/kotlin/com/revenuecat/purchases/ui/revenuecatui/templates/Template5.kt
Outdated
Show resolved
Hide resolved
Actually, I wonder about why the snapshot tests are not failing... seems like there might be something wrong there... Will take a look. |
Paywalls
: fix template 5 header aspect ratio### Description Similar to #1465 but in template 1. This was caused by a bad refactor when extracting the `aspectRatio` calculation to an extension.
It was entering the == 0 branch, so we can merge this 👍 |
**This is an automatic release.** ### RevenueCatUI * Paywalls: fix template 5 header aspect ratio (#1465) via NachoSoto (@NachoSoto) * Paywalls: Fix template 1 header aspect ratio (#1466) via Toni Rico (@tonidero) * Paywalls: Support condensed footer in template 4 (#1469) via Toni Rico (@tonidero) * `Paywalls`: improve image loading (#1464) via NachoSoto (@NachoSoto) * `Paywalls`: override locale with paywall localization (#1418) via NachoSoto (@NachoSoto) ### Other Changes * Paywalls: Fix purchasing regression by providing real activity (#1467) via Toni Rico (@tonidero) * Bump compile/target version to 34 (#1462) via Toni Rico (@tonidero) * Update circleci orb to latest version (#1456) via Toni Rico (@tonidero) * `Snapshots`: fix Fastlane job (#1461) via NachoSoto (@NachoSoto) * Update gradle plugin to version 8.1.1 (#1458) via Toni Rico (@tonidero) Co-authored-by: revenuecat-ops <ops@revenuecat.com>
Before:
After