Skip to content

Fix landscape mode in Paywalls v1 Template 3#2265

Merged
joshdholtz merged 1 commit into
mainfrom
paywalls-fix-malformed-landscape
Mar 18, 2025
Merged

Fix landscape mode in Paywalls v1 Template 3#2265
joshdholtz merged 1 commit into
mainfrom
paywalls-fix-malformed-landscape

Conversation

@joshdholtz

Copy link
Copy Markdown
Member

Motivation

Landscape in Paywalls v1 Template 3 looked squished or overflowing off the edge

Description

Force 0.5 weight on each of the columns in landscape mode

Before After
Screenshot 2025-03-18 at 6 36 06 AM Screenshot 2025-03-18 at 6 41 39 AM

@joshdholtz joshdholtz requested review from a team March 18, 2025 11:44
@emerge-tools

emerge-tools Bot commented Mar 18, 2025

Copy link
Copy Markdown

📸 Snapshot Test

6 modified, 386 unchanged

Name Added Removed Modified Renamed Unchanged Errored Approval
TestPurchasesUIAndroidCompatibility
com.revenuecat.testpurchasesuiandroidcompatibility
0 0 5 0 259 0 ✅ Approved
TestPurchasesUIAndroidCompatibility Paparazzi
com.revenuecat.testpurchasesuiandroidcompatibility.paparazzi
0 0 1 0 127 0 ✅ Approved

🛸 Powered by Emerge Tools

@tonidero tonidero left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ohh this makes a lot of sense. Thanks for fixing this! We will probably need to update the screenshots with bundle exec fastlane android record_revenuecatui_snapshots... though hopefully we can move away from using those snapshots soon 🙏

@JayShortway

Copy link
Copy Markdown
Member

@tonidero Yea I told @joshdholtz to wait with merging this cause I'll be merging the Emerge PR as soon as CI finishes 😄

@joshdholtz joshdholtz force-pushed the paywalls-fix-malformed-landscape branch from 09a1a76 to 5ca9686 Compare March 18, 2025 12:18
@codecov

codecov Bot commented Mar 18, 2025

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.28%. Comparing base (ac736d7) to head (5ca9686).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2265   +/-   ##
=======================================
  Coverage   80.28%   80.28%           
=======================================
  Files         278      278           
  Lines        9484     9484           
  Branches     1336     1336           
=======================================
  Hits         7614     7614           
  Misses       1310     1310           
  Partials      560      560           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@joshdholtz joshdholtz merged commit 62b47c8 into main Mar 18, 2025
@joshdholtz joshdholtz deleted the paywalls-fix-malformed-landscape branch March 18, 2025 14:10
This was referenced Mar 19, 2025
vegaro pushed a commit that referenced this pull request Mar 19, 2025
**This is an automatic release.**

## RevenueCatUI SDK
### 🐞 Bugfixes
* Fix landscape mode in Paywalls v1 Template 3 (#2265) via Josh Holtz
(@joshdholtz)
### Customer Center
#### ✨ New Features
* feat: Introduce `CustomerCenterView` for hybrid usage (#2170) via
Cesar de la Vega (@vegaro)
* Add `onManagementOptionSelected` to `CustomerCenterListener` (#2270)
via Cesar de la Vega (@vegaro)
### Paywallv2
#### 🐞 Bugfixes
* [Paywalls V2] Ignores missing font alias if it's blank. (#2271) via
JayShortway (@JayShortway)
* [Paywalls V2] Fixes badges not being overriden (#2266) via JayShortway
(@JayShortway)

### 🔄 Other Changes
* [Diagnostics] Add play_store_version and play_services_version to all
google events (#2269) via Toni Rico (@tonidero)
* [Diagnostics] Add `id` and `app_session_id` to events (#2268) via Toni
Rico (@tonidero)
* Uploads Paparazzi screenshots to Emerge. (#2232) via JayShortway
(@JayShortway)

Co-authored-by: revenuecat-ops <ops@revenuecat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants