HomePhabricator
Diffusion Comm 2d844e8a2ea4

[native] Avoid importing Alert directly from react-native

Description

[native] Avoid importing Alert directly from react-native

Summary:
Our custom Alert in native/utils/alert.js just wraps the default one with a userInterfaceStyle call based on the current user theme.

Depends on D12123

Test Plan:
I made sure the app runs with these. I had to remove the usage of our custom Alert from redux-setup.js because it led to this error:

2024-05-20 15.31.00.png (2×1 px, 287 KB)

Reviewers: ginsu

Reviewed By: ginsu

Subscribers: tomek

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

Details

Provenance
ashoatAuthored on May 20 2024, 5:48 AM
Reviewer
ginsu
Differential Revision
D12124: [native] Avoid importing Alert directly from react-native
Parents
rCOMMa00d4c26e2b8: [native] Handle outdated client error in QR code auth flow
Branches
Unknown
Tags
Unknown