Page MenuHomePhabricator

[native] Avoid importing Alert directly from react-native
ClosedPublic

Authored by ashoat on May 20 2024, 6:44 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Mar 28, 4:19 PM
Unknown Object (File)
Fri, Mar 28, 10:10 AM
Unknown Object (File)
Wed, Mar 26, 9:03 AM
Unknown Object (File)
Fri, Mar 21, 4:56 PM
Unknown Object (File)
Feb 27 2025, 11:10 PM
Unknown Object (File)
Feb 26 2025, 8:02 AM
Unknown Object (File)
Feb 26 2025, 8:02 AM
Unknown Object (File)
Feb 26 2025, 12:02 AM
Subscribers

Details

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)

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable