Page MenuHomePhabricator

[native] Extract the buttons from the logged out modal
ClosedPublic

Authored by tomek on Fri, Nov 29, 2:51 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Dec 22, 3:55 AM
Unknown Object (File)
Fri, Dec 20, 4:11 AM
Unknown Object (File)
Mon, Dec 16, 2:17 PM
Unknown Object (File)
Sun, Dec 15, 2:14 PM
Unknown Object (File)
Fri, Dec 13, 9:42 PM
Unknown Object (File)
Fri, Dec 13, 2:05 AM
Unknown Object (File)
Thu, Dec 12, 4:00 PM
Unknown Object (File)
Thu, Dec 12, 3:54 AM
Subscribers

Details

Summary

These buttons will be used later in the stack. Use the primary buttons instead of the old styling.

Before

old-buttons.png (2×1 px, 1 MB)

After

new-buttons.png (2×1 px, 1 MB)

Depends on D14064

Test Plan

Check if the logged out modal still looks correct.

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

native/account/logged-out-modal.react.js
181 ↗(On Diff #46126)

This prop isn't needed - the button style already specifies it

native/account/logged-out-modal.react.js
561 ↗(On Diff #46126)

We don't have a list of register buttons anymore so we don't need to set this key

tomek requested review of this revision.Fri, Nov 29, 3:10 AM
This revision is now accepted and ready to land.Mon, Dec 2, 1:09 AM
tomek added inline comments.
native/account/logged-out-modal.react.js
478–485 ↗(On Diff #46209)

We could use gap if we had RN 0.71.

tomek requested review of this revision.Wed, Dec 4, 7:23 AM
native/account/logged-out-modal.react.js
458–463 ↗(On Diff #46209)

I wasn't sure if we should use the new design (consistent with the registration flow) or the old. If we decide to keep the old one, we can bring back the styling here, and use the PromptButton in the restoration flow.

In this revision, styles are updated, so leaving this @ashoat for review

This revision is now accepted and ready to land.Sat, Dec 7, 12:54 PM