-
Notifications
You must be signed in to change notification settings - Fork 54
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: Support condensed footer in template 4 #1469
Conversation
textAlign = TextAlign.Center, | ||
modifier = Modifier.fillMaxWidth(), | ||
) | ||
Column(horizontalAlignment = Alignment.CenterHorizontally) { |
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.
I needed to wrap these into another column like this to avoid the outer column verticalArrangement
spacing. Seems like the AnimatedVisibility
jumps when trying to animate an item disappearing and that spacing going away. I'm mimicking that by manually handling the animation of a custom Spacer
here.
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.
Seems like the AnimatedVisibility jumps when trying to animate an item disappearing and that spacing going away
Yeah that's why we can't use it in many place where e need spacing to remain consistent.
**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 <[email protected]>
Description
Template 4 did not support condensed footer mode. This adds it with a simple slide up-down animation.
Screen_recording_20231114_152339.mp4