Page MenuHomePhabricator

[native] Add horizontal margin to buttons in LoggedOutModal
ClosedPublic

Authored by ashoat on Apr 18 2023, 11:04 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Jun 15, 11:55 AM
Unknown Object (File)
Thu, Jun 13, 10:16 PM
Unknown Object (File)
Wed, Jun 12, 8:02 PM
Unknown Object (File)
Mon, Jun 10, 7:54 AM
Unknown Object (File)
Mon, Jun 10, 7:54 AM
Unknown Object (File)
Mon, Jun 10, 7:54 AM
Unknown Object (File)
Mon, Jun 10, 7:54 AM
Unknown Object (File)
Mon, Jun 10, 7:48 AM
Subscribers

Details

Summary

In order to iterate on the new registration flow, I'm going to replace the register button with two side-by-side register buttons, with the second one only visible to devs.

In order to make it easier to add space between those side-by-side buttons, I'm adding some horizontal margin to the buttons. (This wouldn't be necessary on React Native 0.71, where we could use gap properties instead of margin ones.)

Test Plan
beforeafter
Screenshot 2023-04-18 at 2.00.02 PM.png (1×521 px, 295 KB)
Screenshot 2023-04-18 at 2.00.14 PM.png (1×521 px, 294 KB)

The only difference is in the horizontal margins of LoggedOutStaffInfo

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Apr 18 2023, 12:47 PM

Keep LoggedOutStaffInfo margins the same as before

Also removed what appeared to me to be an extraneous View

This revision was landed with ongoing or failed builds.Apr 19 2023, 6:39 PM
This revision was automatically updated to reflect the committed changes.