HomePhabricator
Diffusion Comm 1710139fc7b7

[native] Add loading spinner to RegistrationButton loading variant

Description

[native] Add loading spinner to RegistrationButton loading variant

Summary:
ConnectEthereum is the first place we're actually using the loading variant; before this point, I hadn't really implemented it.

This diff implements the loading variant with a loading spinner that is absolutely-positioned over the normal content.

The reason I took that approach is to avoid issues with the height changing. This way I don't have to worry about calculating the height of the text, or forcing the height of the text to be something specific.

Depends on D7845

Test Plan:

Reviewers: ginsu, atul

Reviewed By: atul

Subscribers: tomek

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

Details

Provenance
ashoatAuthored on May 16 2023, 12:37 PM
Reviewer
atul
Differential Revision
D7846: [native] Add loading spinner to RegistrationButton loading variant
Parents
rCOMMf1983bafc7eb: [native] Introduce RegistrationContainer to handle SafeAreaView
Branches
Unknown
Tags
Unknown