HomePhabricator
Diffusion Comm f1983bafc7eb

[native] Introduce RegistrationContainer to handle SafeAreaView

Description

[native] Introduce RegistrationContainer to handle SafeAreaView

Summary:
Before this diff, we wrapped all registration screens with a SafeAreaView in RegistrationNavigator.

However, this meant that the SIWEPanel background had a sharp cutoff at the SafeAreaView bounds.

In order to allow the SIWEPanel to appear over the SafeAreaView, this diff moves responsibility for rendering SafeAreaView to the individual screens. This is achieved with a new RegistrationContainer component.

Depends on D7844

Test Plan:

beforeafter
Screenshot 2023-05-16 at 3.19.49 PM.png (1×565 px, 222 KB)
Screenshot 2023-05-16 at 3.19.40 PM.png (1×565 px, 226 KB)

Reviewers: ginsu, atul

Reviewed By: atul

Subscribers: tomek

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

Details

Provenance
ashoatAuthored on May 16 2023, 12:20 PM
Reviewer
atul
Differential Revision
D7845: [native] Introduce RegistrationContainer to handle SafeAreaView
Parents
rCOMMed64f3949075: [native] Add SIWEPanel to ConnectEthereum screen
Branches
Unknown
Tags
Unknown