HomePhabricator
Diffusion Comm eac9bad33a03

[native] Fix Comm swoosh render in RegistrationTerms on iOS release builds

Tags
None
Referenced Files
F2674135: 2024-09-12 20.02.41.png
Sep 13 2024, 7:51 AM
File Not Attached
F2674134: 2024-09-12 19.54.30.png
Sep 13 2024, 7:51 AM
File Not Attached
Subscribers
None

Description

[native] Fix Comm swoosh render in RegistrationTerms on iOS release builds

Summary:
For some reason, center works on iOS debug builds, but not release builds. This diff makes it look good on release builds.

center is probably closer to what we want than contain, but they have the same behavior because the swoosh is larger than the screen width and as such doesn't need to be centered.

Depends on D13311

Test Plan:

beforeafter
2024-09-12 19.54.30.png (2×1 px, 195 KB)
2024-09-12 20.02.41.png (2×1 px, 177 KB)

Reviewers: varun, will

Reviewed By: varun

Subscribers: tomek

Differential Revision: https://phab.comm.dev/D13312